ihuzenko commented on a change in pull request #1608: DRILL-6960: Auto Limit
Wrapping should not apply to non-select query
URL: https://github.com/apache/drill/pull/1608#discussion_r253520647
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/DrillSqlWorker.java
##########
@@ -47,6 +47,7 @@
public class DrillSqlWorker {
private static final org.slf4j.Logger logger =
org.slf4j.LoggerFactory.getLogger(DrillSqlWorker.class);
private static final ControlsInjector injector =
ControlsInjectorFactory.getInjector(DrillSqlWorker.class);
+ private static final String NEW_LINE = System.getProperty("line.separator");
Review comment:
May be removed after changing ```StringBuilder``` to ```String.format``` in
```wrapWithAutoLimit(parser, context, sql)``` method. See comments below for
details.
----------------------------------------------------------------
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