github-code-scanning[bot] commented on code in PR #14900:
URL: https://github.com/apache/druid/pull/14900#discussion_r1318313895
##########
processing/src/main/java/org/apache/druid/frame/field/FieldReaders.java:
##########
@@ -61,8 +60,19 @@
return ComplexFieldReader.createFromType(columnType);
case ARRAY:
- if (columnType.getElementType().getType() == ValueType.STRING) {
- return new StringFieldReader(true);
+ switch
(Preconditions.checkNotNull(columnType.getElementType().getType(), "array
elementType")) {
Review Comment:
## Missing enum case in switch
Switch statement does not have a case for [ARRAY](1).
Switch statement does not have a case for [COMPLEX](2).
[Show more
details](https://github.com/apache/druid/security/code-scanning/5769)
--
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]