rdblue commented on code in PR #3212:
URL: https://github.com/apache/parquet-java/pull/3212#discussion_r2085658216
##########
parquet-variant/src/main/java/org/apache/parquet/variant/VariantBuilder.java:
##########
@@ -395,15 +471,15 @@ public VariantObjectBuilder startObject() {
if (arrayBuilder != null) {
throw new IllegalStateException("Cannot call startObject() without
calling endArray() first.");
}
- this.objectBuilder = new VariantObjectBuilder(this);
+ this.objectBuilder = new VariantObjectBuilder(this.rootBuilder);
return objectBuilder;
}
/**
* Finishes appending the object to this builder. This method must be called
after startObject(),
* before other append*() methods can be called on this builder.
*/
- protected void endObject() {
+ public void endObject() {
Review Comment:
:+1:
--
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]