You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "flyrain (via GitHub)" <gi...@apache.org> on 2025/01/25 19:08:54 UTC

[PR] A shorter gradle command to run Polaris [polaris]

flyrain opened a new pull request, #880:
URL: https://github.com/apache/polaris/pull/880

   (no comment)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] A shorter gradle command to run Polaris [polaris]

Posted by "flyrain (via GitHub)" <gi...@apache.org>.
flyrain commented on code in PR #880:
URL: https://github.com/apache/polaris/pull/880#discussion_r1929595408


##########
README.md:
##########
@@ -61,10 +61,8 @@ Apache Polaris is built using Gradle with Java 21+ and Docker 27+.
 - `./gradlew build` - To build and run tests. Make sure Docker is running, as the integration tests depend on it.
 - `./gradlew assemble` - To skip tests.
 - `./gradlew test` - To run unit tests and integration tests.
-- `./gradlew polarisServerRun` - To run the Polaris server locally; the server is reachable at 

Review Comment:
   I'm not great at remembering many characters, especially when they mix uppercase and lowercase :-)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] A shorter gradle command to run Polaris [polaris]

Posted by "flyrain (via GitHub)" <gi...@apache.org>.
flyrain merged PR #880:
URL: https://github.com/apache/polaris/pull/880


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] A shorter gradle command to run Polaris [polaris]

Posted by "flyrain (via GitHub)" <gi...@apache.org>.
flyrain commented on code in PR #880:
URL: https://github.com/apache/polaris/pull/880#discussion_r1929595649


##########
README.md:
##########
@@ -61,10 +61,8 @@ Apache Polaris is built using Gradle with Java 21+ and Docker 27+.
 - `./gradlew build` - To build and run tests. Make sure Docker is running, as the integration tests depend on it.
 - `./gradlew assemble` - To skip tests.
 - `./gradlew test` - To run unit tests and integration tests.
-- `./gradlew polarisServerRun` - To run the Polaris server locally; the server is reachable at 

Review Comment:
   The new command works per my test.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] A shorter gradle command to run Polaris [polaris]

Posted by "flyrain (via GitHub)" <gi...@apache.org>.
flyrain commented on PR #880:
URL: https://github.com/apache/polaris/pull/880#issuecomment-2614166690

   Thanks @jbonofre for the review.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] A shorter gradle command to run Polaris [polaris]

Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre commented on code in PR #880:
URL: https://github.com/apache/polaris/pull/880#discussion_r1929610038


##########
README.md:
##########
@@ -73,7 +71,7 @@ create table db1.table1 (id int, name string);
 insert into db1.table1 values (1, 'a');
 select * from db1.table1;
 ```
-
+- `env POLARIS_HOST=localhost ./regtests/run.sh` - To run regression tests locally, see more options [here](./regtests/README.md).

Review Comment:
   Agree, the purpose of the readme is to be short and quick to start. For details, users can go on the doc.



##########
README.md:
##########
@@ -61,10 +61,8 @@ Apache Polaris is built using Gradle with Java 21+ and Docker 27+.
 - `./gradlew build` - To build and run tests. Make sure Docker is running, as the integration tests depend on it.
 - `./gradlew assemble` - To skip tests.
 - `./gradlew test` - To run unit tests and integration tests.
-- `./gradlew polarisServerRun` - To run the Polaris server locally; the server is reachable at 

Review Comment:
   I like the "shorter" form :)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] A shorter gradle command to run Polaris [polaris]

Posted by "flyrain (via GitHub)" <gi...@apache.org>.
flyrain commented on code in PR #880:
URL: https://github.com/apache/polaris/pull/880#discussion_r1929595613


##########
README.md:
##########
@@ -73,7 +71,7 @@ create table db1.table1 (id int, name string);
 insert into db1.table1 values (1, 'a');
 select * from db1.table1;
 ```
-
+- `env POLARIS_HOST=localhost ./regtests/run.sh` - To run regression tests locally, see more options [here](./regtests/README.md).

Review Comment:
   I think it's better to keep the simplest option in the top-level readme, and point to advanced users to a dedicated doc. 
   Also this command doesn't only work with a local run but also with a docker run. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] A shorter gradle command to run Polaris [polaris]

Posted by "flyrain (via GitHub)" <gi...@apache.org>.
flyrain commented on code in PR #880:
URL: https://github.com/apache/polaris/pull/880#discussion_r1929595613


##########
README.md:
##########
@@ -73,7 +71,7 @@ create table db1.table1 (id int, name string);
 insert into db1.table1 values (1, 'a');
 select * from db1.table1;
 ```
-
+- `env POLARIS_HOST=localhost ./regtests/run.sh` - To run regression tests locally, see more options [here](./regtests/README.md).

Review Comment:
   I think it's better to keep the simplest option in the top-level readme, and point advanced users to a dedicated doc. 
   Also this command doesn't only work with a local run but also with a docker run. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org