-
Notifications
You must be signed in to change notification settings - Fork 80
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
Add Oracle support for backend database #588
Conversation
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.
a few minor comments on the Oracle half. Will review the H2 ==> PG part asap
gateway-ha/src/main/java/io/trino/gateway/ha/persistence/dao/QueryHistoryDao.java
Outdated
Show resolved
Hide resolved
gateway-ha/src/test/java/io/trino/gateway/ha/persistence/TestDatabaseMigrationsOracle.java
Outdated
Show resolved
Hide resolved
gateway-ha/src/test/java/io/trino/gateway/ha/persistence/TestDatabaseMigrationsOracle.java
Outdated
Show resolved
Hide resolved
gateway-ha/src/test/java/io/trino/gateway/ha/persistence/TestDatabaseMigrationsOracle.java
Outdated
Show resolved
Hide resolved
gateway-ha/src/test/java/io/trino/gateway/ha/TestGatewayHaMultipleBackend.java
Outdated
Show resolved
Hide resolved
gateway-ha/src/test/java/io/trino/gateway/ha/TestTrinoResource.java
Outdated
Show resolved
Hide resolved
gateway-ha/src/main/java/io/trino/gateway/ha/persistence/FlywayMigration.java
Outdated
Show resolved
Hide resolved
gateway-ha/src/test/java/io/trino/gateway/ha/TestTrinoResource.java
Outdated
Show resolved
Hide resolved
a88317e
to
e9a5293
Compare
Thanks for the review! Updating based on comments. |
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.
LGTM. Once this is documented it should be ready to ship
gateway-ha/src/test/java/io/trino/gateway/ha/TestGatewayHaSingleBackend.java
Outdated
Show resolved
Hide resolved
gateway-ha/src/test/java/io/trino/gateway/ha/persistence/TestDatabaseMigrationsOracle.java
Outdated
Show resolved
Hide resolved
e9a5293
to
b36479a
Compare
gateway-ha/src/test/java/io/trino/gateway/ha/persistence/TestDatabaseMigrationsOracle.java
Outdated
Show resolved
Hide resolved
gateway-ha/src/test/java/io/trino/gateway/ha/persistence/TestDatabaseMigrationsOracle.java
Outdated
Show resolved
Hide resolved
gateway-ha/src/test/java/io/trino/gateway/ha/TestTrinoResource.java
Outdated
Show resolved
Hide resolved
gateway-ha/src/test/java/io/trino/gateway/ha/persistence/TestDatabaseMigrationsOracle.java
Outdated
Show resolved
Hide resolved
gateway-ha/src/test/java/io/trino/gateway/ha/persistence/TestDatabaseMigrationsOracle.java
Outdated
Show resolved
Hide resolved
b36479a
to
edf3353
Compare
@ebyhr thank you for having a look! Updated based on your feedback. |
44a0cfd
to
b64e2da
Compare
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.
Just a little more cleanup and I think this should be good to go
gateway-ha/src/test/java/io/trino/gateway/ha/HaGatewayTestUtils.java
Outdated
Show resolved
Hide resolved
b64e2da
to
e9aafd0
Compare
@willmostly thanks! updated again. |
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.
Looks good!
gateway-ha/src/test/java/io/trino/gateway/ha/HaGatewayTestUtils.java
Outdated
Show resolved
Hide resolved
gateway-ha/src/test/java/io/trino/gateway/ha/TestGatewayHaMultipleBackend.java
Show resolved
Hide resolved
gateway-ha/src/test/java/io/trino/gateway/ha/TestingJdbcConnectionManager.java
Outdated
Show resolved
Hide resolved
gateway-ha/src/test/java/io/trino/gateway/ha/persistence/TestDatabaseMigrationsOracle.java
Outdated
Show resolved
Hide resolved
gateway-ha/src/test/java/io/trino/gateway/ha/persistence/TestDatabaseMigrationsOracle.java
Show resolved
Hide resolved
e9aafd0
to
cc0e587
Compare
thanks @ebyhr! pushed updates based on your comments. |
cc0e587
to
aa6c2d4
Compare
aa6c2d4
to
debeba0
Compare
Description
This PR does 2 things:
LIMIT
is not supported in OracleAdditional context and related issues
Release notes
( ) This is not user-visible or is docs only, and no release notes are required.
( X) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text: