sfc-gh-aixu commented on code in PR #276:
URL: https://github.com/apache/polaris/pull/276#discussion_r1757301506


##########
polaris-service/src/main/java/org/apache/polaris/service/config/PolarisApplicationConfig.java:
##########
@@ -146,6 +147,15 @@ public void setFeatureConfiguration(Map<String, Object> 
featureConfiguration) {
     this.configurationStore = new 
DefaultConfigurationStore(featureConfiguration);
   }
 
+  @JsonProperty("maxDocumentBytes")
+  public void setMaxDocumentBytes(long maxDocumentBytes) {
+    this.maxDocumentBytes = maxDocumentBytes;
+  }
+
+  public long getMaxDocumentBytes() {
+    return maxDocumentBytes;
+  }

Review Comment:
   From the code from StreamReadConstraints, that means both 0 and -1 are 
considered no limits. But I think it does make sense to have -1 for unlimited 
and disallow 0.



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