Details

      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

            Activity

              People

              • Assignee:
                arina Arina Ielchiieva
                Reporter:
                arina Arina Ielchiieva
                Reviewer:
                Volodymyr Vysotskyi
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: