steveloughran commented on code in PR #3562:
URL: https://github.com/apache/parquet-java/pull/3562#discussion_r3560444718
##########
parquet-variant/src/main/java/org/apache/parquet/variant/VariantUtil.java:
##########
@@ -190,6 +190,12 @@ class VariantUtil {
// The size (in bytes) of a UUID.
static final int UUID_SIZE = 16;
+ /**
+ * Maximum permitted nesting depth of a Variant value.
+ * same limit as in VariantJsonParser.
+ */
+ static final int MAX_VARIANT_DEPTH = 1000;
Review Comment:
will add to the javadocs, with a link to the discussion
https://lists.apache.org/thread/q6wbom1q9pndv2nj6wcynxjcjxxkc1hm
--
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]