AmatyaAvadhanula commented on code in PR #15168:
URL: https://github.com/apache/druid/pull/15168#discussion_r1361709623
##########
extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/sql/MSQTaskQueryMaker.java:
##########
@@ -226,12 +226,15 @@ public QueryResponse<Object[]> runQuery(final DruidQuery
druidQuery)
fieldMapping.stream().map(f -> f.right).collect(Collectors.toList())
);
- destination = new DataSourceMSQDestination(
+ final DataSourceMSQDestination dataSourceMSQDestination = new
DataSourceMSQDestination(
targetDataSource,
segmentGranularityObject,
segmentSortOrder,
replaceTimeChunks
);
+ MultiStageQueryContext.validateAndGetTaskLockType(sqlQueryContext,
Review Comment:
The return value is not being utilized. Is this call made to validate the
lock type?
--
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]