You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/07/05 07:14:56 UTC

[GitHub] [flink-table-store] JingsongLi commented on a diff in pull request #193: [FLINK-28017] Introduce bucket-key to table store

JingsongLi commented on code in PR #193:
URL: https://github.com/apache/flink-table-store/pull/193#discussion_r913460665


##########
flink-table-store-core/src/main/java/org/apache/flink/table/store/file/schema/TableSchema.java:
##########
@@ -129,6 +134,33 @@ public Map<String, String> options() {
         return options;
     }
 
+    public List<String> bucketKeys() {
+        String key = options.get(BUCKET_KEY.key());
+        if (StringUtils.isNullOrWhitespaceOnly(key)) {
+            return Collections.emptyList();
+        }
+        List<String> bucketKeys = Arrays.asList(key.split(","));

Review Comment:
   Let it go, user can see the wrong field in the exception.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org