vvysotskyi commented on a change in pull request #1549: DRILL-6834: Introduce
option to disable result set on CTAS, create vi…
URL: https://github.com/apache/drill/pull/1549#discussion_r235490322
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/server/options/SessionOptionManager.java
##########
@@ -38,19 +42,27 @@
* in the reset query itself.
*/
public class SessionOptionManager extends InMemoryOptionManager {
-// private static final org.slf4j.Logger logger =
org.slf4j.LoggerFactory.getLogger(SessionOptionManager.class);
+
+ private static final Map<String, Object> defaultValues;
+
+ static {
+ Map<String, Object> values = new HashMap<>();
+ values.put(ExecConstants.FETCH_RESULT_SET_FOR_DDL, true);
Review comment:
Can this option be set at the system level? If yes, it should be moved from
this class.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services