mxm commented on code in PR #14729:
URL: https://github.com/apache/iceberg/pull/14729#discussion_r2592142092


##########
flink/v2.1/flink/src/main/java/org/apache/iceberg/flink/sink/dynamic/DynamicIcebergSink.java:
##########
@@ -336,6 +337,15 @@ public Builder<T> inputSchemasPerTableCacheMaxSize(int 
inputSchemasPerTableCache
       return this;
     }
 
+    /**
+     * Set whether schema field name matching should be case-sensitive. The 
default is to match the
+     * field names case-sensitive.
+     */
+    public Builder<T> caseSensitive(boolean newCaseSensitive) {

Review Comment:
   We can help detecting it, but simply using lower case in the cache won't do 
it. We need a detection mechanism, which I elaborated on in my previous post. 
The reason is that there might actually be two tables: "TABLE" and "table"; 
without the detection logic I mentioned, there is no way to tell them apart in 
case of case insensitivity. We might accidentally commit to "table", when we 
wanted to commit to "TABLE". Field names don't have that issue because we will 
fail if there is "field" and "FIELD" with case insensitivity.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to