jerqi commented on code in PR #7610:
URL: https://github.com/apache/gravitino/pull/7610#discussion_r2259705950


##########
api/src/main/java/org/apache/gravitino/rel/expressions/NamedReference.java:
##########
@@ -105,4 +116,44 @@ public String toString() {
       return String.join(".", fieldName);
     }
   }
+
+  /** A {@link NamedReference} that references a metadata field. */
+  final class MetadataField implements NamedReference {
+    /** A metadata field that represents the name of a partition in a 
partitioned table. */
+    public static final MetadataField PARTITION_NAME_FIELD =
+        new MetadataField(new String[] {"partition_name"});

Review Comment:
   Yes, I prefer using some fixed name metadata fields to represent the some 
metadata information.



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