-
Notifications
You must be signed in to change notification settings - Fork 7
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 feature to ignore Iceberg tables #185
Conversation
…m-opensource:ExpediaGroup/beekeeper into feature/prevent-actions-on-iceberg-tables
Integrated LocalStack with containers. Rule is from Junit 4
…aryIntegrationTest
...rc/main/java/com/expediagroup/beekeeper/metadata/cleanup/handler/ExpiredMetadataHandler.java
Outdated
Show resolved
Hide resolved
...java/com/expediagroup/beekeeper/scheduler/apiary/filter/IcebergTableListenerEventFilter.java
Outdated
Show resolved
Hide resolved
...java/com/expediagroup/beekeeper/scheduler/apiary/filter/IcebergTableListenerEventFilter.java
Outdated
Show resolved
Hide resolved
…eeper/scheduler/apiary/filter/IcebergTableListenerEventFilter.java Co-authored-by: Jay Green-Stevens <[email protected]>
...piary/src/main/java/com/expediagroup/beekeeper/scheduler/apiary/service/SchedulerApiary.java
Outdated
Show resolved
Hide resolved
.../com/expediagroup/beekeeper/scheduler/apiary/filter/IcebergTableListenerEventFilterTest.java
Outdated
Show resolved
Hide resolved
…ithub.com/ExpediaGroup/beekeeper into feature/prevent-actions-on-iceberg-tables
...piary/src/main/java/com/expediagroup/beekeeper/scheduler/apiary/service/SchedulerApiary.java
Outdated
Show resolved
Hide resolved
...piary/src/main/java/com/expediagroup/beekeeper/scheduler/apiary/service/SchedulerApiary.java
Outdated
Show resolved
Hide resolved
Map<String, String> tableParameters = client.getTableProperties(databaseName, tableName); | ||
|
||
if (isIcebergTablePredicate.test(tableParameters)) { | ||
throw new BeekeeperIcebergException( |
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.
nit: Maybe using IllegalStateException
would have been clearer.
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 are purposely using a custom exception to handle the exception in the main class later on.
...er-core/src/main/java/com/expediagroup/beekeeper/core/predicate/IsIcebergTablePredicate.java
Outdated
Show resolved
Hide resolved
...rc/main/java/com/expediagroup/beekeeper/metadata/cleanup/handler/ExpiredMetadataHandler.java
Outdated
Show resolved
Hide resolved
...java/com/expediagroup/beekeeper/scheduler/apiary/filter/IcebergTableListenerEventFilter.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Jay Green-Stevens <[email protected]>
Co-authored-by: Jay Green-Stevens <[email protected]>
Fixes #