clintropolis commented on a change in pull request #10962:
URL: https://github.com/apache/druid/pull/10962#discussion_r590016817
##########
File path: core/src/main/java/org/apache/druid/data/input/impl/JsonReader.java
##########
@@ -106,6 +108,10 @@
//throw unknown exception
throw e;
}
+ if (CollectionUtils.isEmpty(inputRows)) {
Review comment:
CI is failing asking for
```<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.2.2</version>
</dependency>
```
to be added to the pom of `druid-core`. Could instead use druid's
`org.apache.druid.utils.CollectionUtils.isNullOrEmpty` which does the same check
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]