DRILL-1659: Increase default maxWidth for sqlline to 10k

Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/2f6efeaf
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/2f6efeaf
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/2f6efeaf

Branch: refs/heads/master
Commit: 2f6efeafed36459d81230009b67fde89d6f69728
Parents: 0085ffb
Author: Jacques Nadeau <jacq...@apache.org>
Authored: Mon Nov 10 22:46:13 2014 -0800
Committer: Jacques Nadeau <jacq...@apache.org>
Committed: Tue Nov 11 16:48:45 2014 -0800

----------------------------------------------------------------------
 distribution/src/resources/sqlline | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/2f6efeaf/distribution/src/resources/sqlline
----------------------------------------------------------------------
diff --git a/distribution/src/resources/sqlline 
b/distribution/src/resources/sqlline
index 0ad3b5c..0852fba 100755
--- a/distribution/src/resources/sqlline
+++ b/distribution/src/resources/sqlline
@@ -37,9 +37,9 @@ bin=`cd "$bin">/dev/null; pwd`
 DRILL_SHELL_JAVA_OPTS="$DRILL_SHELL_JAVA_OPTS 
-Dlog.path=$DRILL_LOG_DIR/sqlline.log"
 
 if [ -n "$QUERY" ] ; then
-  echo $QUERY | exec "$JAVA" $DRILL_SHELL_JAVA_OPTS $DRILL_JAVA_OPTS -cp $CP 
sqlline.SqlLine -d org.apache.drill.jdbc.Driver "${ARGS[@]}"
+  echo $QUERY | exec "$JAVA" $DRILL_SHELL_JAVA_OPTS $DRILL_JAVA_OPTS -cp $CP 
sqlline.SqlLine -d org.apache.drill.jdbc.Driver  --maxWidth=10000 "${ARGS[@]}"
 elif [ -n "$FILE" ] ; then
-  exec "$JAVA" $DRILL_SHELL_JAVA_OPTS $DRILL_JAVA_OPTS -cp $CP sqlline.SqlLine 
-d org.apache.drill.jdbc.Driver "${ARGS[@]}" --run=$FILE
+  exec "$JAVA" $DRILL_SHELL_JAVA_OPTS $DRILL_JAVA_OPTS -cp $CP sqlline.SqlLine 
-d org.apache.drill.jdbc.Driver  --maxWidth=10000 "${ARGS[@]}" --run=$FILE
 else
-  exec "$JAVA" $DRILL_SHELL_JAVA_OPTS $DRILL_JAVA_OPTS -cp $CP sqlline.SqlLine 
-d org.apache.drill.jdbc.Driver "${ARGS[@]}"
+  exec "$JAVA" $DRILL_SHELL_JAVA_OPTS $DRILL_JAVA_OPTS -cp $CP sqlline.SqlLine 
-d org.apache.drill.jdbc.Driver --maxWidth=10000 "${ARGS[@]}"
 fi

Reply via email to