Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Upgrade to SqlLine 1.6.0 once the release is out.
For documentation
Known issue
Old history file should be deleted prior to using Drill with SqlLine 1.6:
./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)
Attachments
Issue Links
- incorporates
-
DRILL-6769 Sqlline doesn't see line endings when it prints first row fo the explain plan results table
- Resolved
- is depended upon by
-
DRILL-2597 Sqlline fails when script contains comments
- Resolved
- links to