-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[flink] Support the creation of tags based on the latest snapshot #2533
Conversation
|
||
Tuple3<String, String, String> tablePath = getTablePath(params); | ||
Map<String, String> catalogConfig = optionalConfigMap(params, CATALOG_CONF); | ||
String tagName = params.get(TAG_NAME); | ||
long snapshot = Long.parseLong(params.get(SNAPSHOT)); | ||
|
||
long snapshot = -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.
Long snapshot = null;
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.
done.
@@ -108,7 +108,7 @@ You can create a tag with given name (cannot be number) and snapshot ID. | |||
--database <database-name> \ | |||
--table <table-name> \ | |||
--tag_name <tag-name> \ | |||
--snapshot <snapshot-id> \ | |||
[--snapshot <snapshot_id>] \ |
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.
You need to modify Flink and Spark procedure too.
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.
done.
92e19b0
to
051eb89
Compare
@JingsongLi PTAL,thanks. |
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.
+1
Purpose
Support the creation of tags based on the latest snapshot.
Tests
API and Format
Documentation