Skip to content
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

Merged
merged 67 commits into from
Nov 28, 2024

Conversation

javsanbel2
Copy link
Contributor

Fixes #

…eeper/scheduler/apiary/filter/IcebergTableListenerEventFilter.java

Co-authored-by: Jay Green-Stevens <[email protected]>
Map<String, String> tableParameters = client.getTableProperties(databaseName, tableName);

if (isIcebergTablePredicate.test(tableParameters)) {
throw new BeekeeperIcebergException(

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.

Copy link
Contributor Author

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.

CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Jay Green-Stevens <[email protected]>
CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Jay Green-Stevens <[email protected]>
@HamzaJugon HamzaJugon merged commit 80e8854 into main Nov 28, 2024
2 checks passed
@HamzaJugon HamzaJugon deleted the feature/prevent-actions-on-iceberg-tables branch November 28, 2024 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants