-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#5071] Improvement (test): Add integration tests for Trino cascading queries #5073
base: main
Are you sure you want to change the base?
Conversation
@@ -76,7 +76,7 @@ jobs: | |||
|
|||
- name: Package Gravitino | |||
run: | | |||
./gradlew compileDistribution -x test -PjdkVersion=${{ matrix.java-version }} | |||
./gradlew build compileDistribution -x test -PjdkVersion=${{ matrix.java-version }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need to add the build task? I believe the build task is included in compileDistribution
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the compileDistribution
task does not build the Trino connector
#create test metalake | ||
counter=0 | ||
while [ $counter -le 30 ]; do | ||
sleep 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better move this line to L53.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to pause for a moment because the Gravitino server has not completed startup.
cp -r /opt/gravitino-server /tmp/gravitino-server | ||
rm -fr /tmp/gravitino-server/logs | ||
rm -fr /tmp/gravitino-server/data | ||
/tmp/gravitino-server/bin/gravitino.sh start |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When will you stop the Gravitino server? I haven't noticed such logic in the PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Gravitino server was stopped by the container shutdown.
# under the License. | ||
|
||
connector.name=trino | ||
connection-url=jdbc:trino://trino-remote:8080/tpcds |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
${trino-remote-address}:${trino-remote-port}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That URL is a valid connection-url used by the Docker Compose environment.
What changes were proposed in this pull request?
Add integration tests for Trino cascading queries
Why are the changes needed?
Fix: #5071
Does this PR introduce any user-facing change?
NO
How was this patch tested?
New integration testers