Github user gparai commented on a diff in the pull request:
https://github.com/apache/drill/pull/729#discussion_r100455272
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/ops/QueryContext.java ---
@@ -283,4 +286,18 @@ public void close() throws Exception {
closed = true;
}
}
+
+ /**
+ * @param stmtType : The type {@link StatementType} e.g. CTAS, ANALYZE of
the statement
+ */
+ public void setStatementType(StatementType stmtType) {
--- End diff --
I have changed the code to allow the statement type to be set only once.
Please suggest if there is a better approach.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---