@@ -61,10 +61,8 @@ Apache Polaris is built using Gradle with Java 21+ and Docker 27+.
61
61
- ` ./gradlew build ` - To build and run tests. Make sure Docker is running, as the integration tests depend on it.
62
62
- ` ./gradlew assemble ` - To skip tests.
63
63
- ` ./gradlew test ` - To run unit tests and integration tests.
64
- - ` ./gradlew polarisServerRun ` - To run the Polaris server locally; the server is reachable at
64
+ - ` ./gradlew run ` - To run the Polaris server locally; the server is reachable at
65
65
localhost:8181. This is also suitable for running regression tests, or for connecting with Spark.
66
- See below for more information on regression tests.
67
-
68
66
- ` ./regtests/run_spark_sql.sh ` - To connect from Spark SQL. Here are some example commands to run in the Spark SQL shell:
69
67
``` sql
70
68
create database db1 ;
@@ -73,7 +71,7 @@ create table db1.table1 (id int, name string);
73
71
insert into db1 .table1 values (1 , ' a' );
74
72
select * from db1 .table1 ;
75
73
```
76
-
74
+ - ` env POLARIS_HOST=localhost ./regtests/run.sh ` - To run regression tests locally, see more options [ here ] ( ./regtests/README.md ) .
77
75
### More build and run options
78
76
79
77
#### Running in Docker
@@ -95,23 +93,6 @@ select * from db1.table1;
95
93
- ` kubectl get deployment -n polaris ` - To check the status of the deployment.
96
94
- ` kubectl describe deployment polaris-deployment -n polaris ` - To troubleshoot if things aren't working as expected.
97
95
98
- #### Running regression tests
99
-
100
- Regression tests can be run in a local environment or in a Docker environment.
101
-
102
- To run regression tests locally, you first need to start Polaris, then run the tests:
103
-
104
- ``` shell
105
- ./gradlew polarisServerRun
106
- env POLARIS_HOST=localhost ./regtests/run.sh
107
- ```
108
-
109
- To run regression tests in a Docker environment, you can use the following command:
110
-
111
- ``` shell
112
- docker compose -f regtests/docker-compose.yml up --build --exit-code-from regtest
113
- ```
114
-
115
96
#### Building docs
116
97
117
98
- Docs are generated using [ Hugo] ( https://gohugo.io/ ) using the [ Docsy] ( https://www.docsy.dev/docs/ ) theme.
0 commit comments