andreacyc commented on a change in pull request #11738:
URL: https://github.com/apache/druid/pull/11738#discussion_r715670310
##########
File path: web-console/src/views/query-view/query-view.tsx
##########
@@ -205,14 +209,23 @@ export class QueryView extends
React.PureComponent<QueryViewProps, QueryViewStat
const query = QueryView.isJsonLike(queryString) ?
Hjson.parse(queryString) : queryString;
+ const queryId = generateQueryId();
+
+ const isSql = !QueryView.isJsonLike(queryString);
+
let context: Record<string, any> | undefined;
if (!isEmptyContext(queryContext) || wrapQueryLimit ||
mandatoryQueryContext) {
context = { ...queryContext, ...(mandatoryQueryContext || {}) };
+ context.sqlQueryId = queryId;
Review comment:
My mistake, i didn't setting the sqlQueryId and it still be able to
cancel the query. Added it now
--
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]