FrankChen021 commented on a change in pull request #12223:
URL: https://github.com/apache/druid/pull/12223#discussion_r817727242



##########
File path: processing/src/main/java/org/apache/druid/query/Druids.java
##########
@@ -793,26 +797,13 @@ public static SegmentMetadataQueryBuilder 
newSegmentMetadataQueryBuilder()
     private long offset;
     private long limit;
     private DimFilter dimFilter;
-    private List<String> columns;
+    private List<String> columns = new ArrayList<>();
     private Boolean legacy;
     private ScanQuery.Order order;
     private List<ScanQuery.OrderBy> orderBy;
 
     public ScanQueryBuilder()

Review comment:
       since there's no code in the ctor, how about deleting this ctor?




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

Reply via email to