You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/11/28 13:04:00 UTC

[jira] [Commented] (DRILL-6866) Upgrade to SqlLine 1.6.0

    [ https://issues.apache.org/jira/browse/DRILL-6866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16701847#comment-16701847 ] 

ASF GitHub Bot commented on DRILL-6866:
---------------------------------------

arina-ielchiieva opened a new pull request #1556: DRILL-6866: Upgrade to SqlLine 1.6.0
URL: https://github.com/apache/drill/pull/1556
 
 
   1. Changed SqlLine version to 1.6.0.
   2. Overridden new getVersion method in DrillSqlLineApplication.
   3. Set maxColumnWidth to 100 to avoid issue described in [DRILL-6769](https://issues.apache.org/jira/browse/DRILL-6769).
   4. Changed access modifier from package default to public for JDBC classes that implement external interfaces to avoid issues when calling methods from these classes using reflection.
   
   Jira - [DRILL-6866](https://issues.apache.org/jira/browse/DRILL-6866).

----------------------------------------------------------------
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:
users@infra.apache.org


> Upgrade to SqlLine 1.6.0
> ------------------------
>
>                 Key: DRILL-6866
>                 URL: https://issues.apache.org/jira/browse/DRILL-6866
>             Project: Apache Drill
>          Issue Type: Task
>            Reporter: Arina Ielchiieva
>            Assignee: Arina Ielchiieva
>            Priority: Major
>             Fix For: 1.15.0
>
>
> Upgrade to SqlLine 1.6.0 once the release is out.
> *Known issue*
> Old history file should be deleted prior to using Drill with SqlLine 1.6:
> {noformat}
> ./drill-embedded 
> Exception in thread "main" java.lang.IllegalArgumentException: Bad history file syntax! The history file `/Users/arina/.sqlline/history` may be an older history: please remove it or use a different history file.
> at org.jline.reader.impl.history.DefaultHistory.addHistoryLine(DefaultHistory.java:104)
> at org.jline.reader.impl.history.DefaultHistory.lambda$load$0(DefaultHistory.java:86)
> at java.util.Iterator.forEachRemaining(Iterator.java:116)
> at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
> at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
> at org.jline.reader.impl.history.DefaultHistory.load(DefaultHistory.java:86)
> at org.jline.reader.impl.history.DefaultHistory.attach(DefaultHistory.java:69)
> at sqlline.SqlLine.getConsoleReader(SqlLine.java:614)
> at sqlline.SqlLine.begin(SqlLine.java:510)
> at sqlline.SqlLine.start(SqlLine.java:264)
> at sqlline.SqlLine.main(SqlLine.java:195)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)