jaykanakiya commented on code in PR #19146:
URL: https://github.com/apache/druid/pull/19146#discussion_r2961329388
##########
processing/src/main/java/org/apache/druid/guice/BuiltInTypesModule.java:
##########
@@ -53,6 +53,7 @@ public class BuiltInTypesModule implements DruidModule
*/
private static DimensionSchema.MultiValueHandling STRING_MV_MODE =
DimensionSchema.MultiValueHandling.SORTED_ARRAY;
private static IndexSpec DEFAULT_INDEX_SPEC = IndexSpec.builder().build();
+ private static int MAX_STRING_LENGTH = 0;
Review Comment:
We are using NON_DEFAULT to not serialize the default value and I think for
integer jackson's default is 0. If we set the MAX_STRING_LENGTH default as int
max, it'll serialize this value for each dimension.
--
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]