kgyrtkirk commented on code in PR #17895:
URL: https://github.com/apache/druid/pull/17895#discussion_r2068508557


##########
extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/sql/MSQTaskQueryMaker.java:
##########
@@ -236,17 +244,26 @@
 
     // This flag is to ensure backward compatibility, as brokers are upgraded 
after indexers/middlemanagers.
     
nativeQueryContextOverrides.put(MultiStageQueryContext.WINDOW_FUNCTION_OPERATOR_TRANSFORMATION,
 true);
+    boolean isReindex = 
MSQControllerTask.isReplaceInputDataSourceTask(druidQuery.getQuery(), 
destination);

Review Comment:
   this PR is going backwards from a state where MSQ was pre-planning a QK 
before it was executed - right now that query may not be null
   
   removed the nullcheck
   



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