deemoliu commented on a change in pull request #6112:
URL: https://github.com/apache/incubator-pinot/pull/6112#discussion_r503562057



##########
File path: pinot-spi/src/main/java/org/apache/pinot/spi/data/Schema.java
##########
@@ -499,6 +499,15 @@ public SchemaBuilder addSingleValueDimension(String 
dimensionName, DataType data
       return this;
     }
 
+    /**
+     * Add single value dimensionFieldSpec with maxLength and a 
defaultNullValue
+     */
+    public SchemaBuilder addSingleValueDimension(String dimensionName, 
DataType dataType, int maxLength,

Review comment:
       gotcha, added precondition check. thanks for review.




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to