rdblue commented on code in PR #12304:
URL: https://github.com/apache/iceberg/pull/12304#discussion_r1963978534
##########
api/src/main/java/org/apache/iceberg/variants/Variant.java:
##########
@@ -25,4 +25,24 @@ public interface Variant {
/** Returns the variant value. */
VariantValue value();
+
+ /**
+ * Query the value with a given path.
+ *
+ * <p>The path format is a subset of JSON path that supports:
+ *
+ * <ul>
+ * <li><code>$</code> the root value
+ * <li><code>.name</code> accesses a field by name
Review Comment:
Bracket notation is canonical, but I want to get something working that we
can expand later. I think as long as we define a strict subset we should be
able to move on and extend or swap in a library.
--
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]