aokolnychyi commented on code in PR #7324:
URL: https://github.com/apache/iceberg/pull/7324#discussion_r1169531754


##########
api/src/main/java/org/apache/iceberg/SortOrderBuilder.java:
##########
@@ -103,4 +103,15 @@ default R desc(Term term) {
    * @return this for method chaining
    */
   R desc(Term term, NullOrder nullOrder);
+
+  /**
+   * Set case sensitivity of sort column name resolution.
+   *
+   * @param caseSensitive when true, column name resolution is case-sensitive
+   * @return this for method chaining
+   */
+  default R caseSensitive(boolean caseSensitive) {
+    throw new UnsupportedOperationException(
+        String.format("Operation not supported by %s", 
this.getClass().getName()));

Review Comment:
   Minor: What about including what exactly is not supported in the error 
message?
   
   ```
   throw new UnsupportedOperationException(
       this.getClass().getName() + " doesn't implement caseSensitive");
   ```



-- 
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