davidradl commented on code in PR #26632:
URL: https://github.com/apache/flink/pull/26632#discussion_r2127067988


##########
flink-table/flink-table-common/src/main/java/org/apache/flink/table/api/Schema.java:
##########
@@ -1043,4 +1122,52 @@ public int hashCode() {
             return Objects.hash(super.hashCode(), columnNames);
         }
     }
+
+    /** Declaration of an index that will be resolved to {@link Index} during 
schema resolution. */
+    @Experimental
+    public static final class UnresolvedIndex {
+        private final String indexName;
+        private final List<String> columnNames;
+
+        public UnresolvedIndex(String indexName, List<String> columnNames) {
+            this.indexName = indexName;
+            this.columnNames = columnNames;
+        }
+
+        public String getIndexName() {
+            return indexName;
+        }
+
+        public List<String> getColumnNames() {
+            return columnNames;
+        }
+
+        @Override
+        public String toString() {
+            return String.format(
+                    "INDEX %s (%s)",

Review Comment:
   nit:  "INDEX %s (%s)", ->  "INDEX %s with column names (%s)", 



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

Reply via email to