[
https://issues.apache.org/jira/browse/DRILL-7401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arina Ielchiieva updated DRILL-7401:
------------------------------------
Description:
Upgrade to SqlLine 1.9 once it is released
(https://github.com/julianhyde/sqlline/issues/350).
*TODO:*
Add SqlLine properties:
connectInteractionMode: useNPTogetherOrEmpty
showLineNumbers: true
Remove nohup support code from sqlline.sh since it is not needed any more
(nohup support wroks without flag):
{code}
To add nohup support for SQLline script
if [[ ( ! $(ps -o stat= -p $$) =~ "+" ) && ! ( -p /dev/stdin ) ]]; then
export SQLLINE_JAVA_OPTS="$SQLLINE_JAVA_OPTS
-Djline.terminal=jline.UnsupportedTerminal"
fi
{code}
Add {{-Dorg.jline.terminal.dumb=true}} to avoid JLine terminal warning when
submitting query in sqlline.sh to execute via {{-e}} or {{-f}}:
{noformat}
Oct 11, 2019 2:14:45 PM org.jline.utils.Log logr
WARNING: Unable to create a system terminal, creating a dumb terminal (enable
debug logging for more information)
{noformat}
was:
Upgrade to SqlLine 1.9 once it is released
(https://github.com/julianhyde/sqlline/issues/350).
TODO:
Add SqlLine properties:
connectInteractionMode: useNPTogetherOrEmpty
showLineNumbers: true
> Sqlline 1.9 upgrade
> -------------------
>
> Key: DRILL-7401
> URL: https://issues.apache.org/jira/browse/DRILL-7401
> Project: Apache Drill
> Issue Type: Task
> Reporter: Arina Ielchiieva
> Assignee: Arina Ielchiieva
> Priority: Major
> Fix For: 1.17.0
>
>
> Upgrade to SqlLine 1.9 once it is released
> (https://github.com/julianhyde/sqlline/issues/350).
> *TODO:*
> Add SqlLine properties:
> connectInteractionMode: useNPTogetherOrEmpty
> showLineNumbers: true
> Remove nohup support code from sqlline.sh since it is not needed any more
> (nohup support wroks without flag):
> {code}
> To add nohup support for SQLline script
> if [[ ( ! $(ps -o stat= -p $$) =~ "+" ) && ! ( -p /dev/stdin ) ]]; then
> export SQLLINE_JAVA_OPTS="$SQLLINE_JAVA_OPTS
> -Djline.terminal=jline.UnsupportedTerminal"
> fi
> {code}
> Add {{-Dorg.jline.terminal.dumb=true}} to avoid JLine terminal warning when
> submitting query in sqlline.sh to execute via {{-e}} or {{-f}}:
> {noformat}
> Oct 11, 2019 2:14:45 PM org.jline.utils.Log logr
> WARNING: Unable to create a system terminal, creating a dumb terminal (enable
> debug logging for more information)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)