[
https://issues.apache.org/jira/browse/DRILL-3853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16726434#comment-16726434
]
Bridget Bevens edited comment on DRILL-3853 at 12/21/18 4:33 AM:
-----------------------------------------------------------------
Hi [~arina],
I built and installed Drill from source a couple of days ago, and when I ran
!set, this returned:
version sqlline version 1.6.0
Is SQLLine 1.5 or 1.6 the correct version for Drill 1.15?
Also, I plan to add a note about the SQLLine upgrade in the release notes. I
also plan to add the following write-up to the docs:
*Customizing SQLLine in the drill-sqlline-override.conf File*
Starting in Drill 1.15, SQLLine (the Drill shell) is upgraded to version 1.6.
You can customize SQLLine through the Drill configuration file,
drill-sqlline-override.conf, located in the <drill-installation>/conf
directory. You can customize quotes of the day; the quotes you see at the
command prompt when starting Drill, such as “Just Drill it,” and you can
override the SQLLine default properties. The SQLLine default properties are
those that print when you run !set from the Drill shell. Drill reads the
drill-sqlline-override.conf file and applies the customizes during start-up.
You must restart Drill for the changes to take effect. The file remains in the
directory and Drill applies the customizes at each restart.
*Note:* The SQLLine configuration file in the <drill-installation>/conf
directory is named drill-sqlline-override-example.conf. Use this file and the
information provided as guidance for the . drill-sqlline-override.conf file you
create and store in the directory with your customizations.
Please let me know if I need to change anything.
Thank you!
Bridget
was (Author: bbevens):
Hi [~arina],
I built and installed Drill from source a couple of days ago, and when I ran
!set, this returned:
version sqlline version 1.6.0
Is SQLLine 1.5 or 1.6 the correct version for Drill 1.15?
Also, I plan to add a note about the SQLLine upgrade in the release notes. I
also plan to add the following write-up to the docs:
*Customizing SQLLine in the drill-sqlline-override.conf File*
Starting in Drill 1.15, SQLLine (the Drill shell) is upgraded to version 1.6.
You can customize SQLLine through the Drill configuration file,
drill-sqlline-override.conf, located in the <drill-installation>/conf
directory. You can customize quotes of the day; the quotes you see at the
command prompt when starting Drill, such as “Just Drill it,” and you can
override the SQLLine default properties. The SQLLine default properties are
those that print when you run !set from the Drill shell. Drill reads the
drill-sqlline-override.conf file and applies the customizes during start-up.
You must restart Drill for the changes to take effect. The file remains in the
directory and Drill applies the customizes at each restart.
*Note:* The SQLLine configuration in the <drill-installation>/conf directory is
named drill-sqlline-override-example.conf. Use the examples and information
provided in the file for guidance. Create a new file in the directory named
drill-sqlline-override.conf with your customizations.
Please let me know if I need to change anything.
Thank you!
Bridget
> Get off Sqlline fork
> --------------------
>
> Key: DRILL-3853
> URL: https://issues.apache.org/jira/browse/DRILL-3853
> Project: Apache Drill
> Issue Type: Improvement
> Reporter: Parth Chandra
> Assignee: Arina Ielchiieva
> Priority: Major
> Labels: doc-impacting, ready-to-commit
> Fix For: 1.15.0
>
>
> Drill has it's own forked version of sqlline that includes customizations for
> displaying the drill version, drill QOTD, removing names of unsupported
> commands and removing JDBC drivers not shipped with Drill.
> To get off the fork, we need to parameterize these features in sqlline and
> have them driven from a properties file. The changes should be merged back
> into sqlline and Drill packaging should then provide a properties file to
> customize the stock sqlline distribution.
> *For documentation*
> SqlLine was upgraded to 1.5.0.
> Added ability to customize SqlLine via drill-sqlline-override.conf file which
> should be present in the classpath.
> Example if placed in conf folder - drill-sqlline-override-example.conf.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)