Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-6769

Sqlline doesn't see line endings when it prints first row fo the explain plan results table

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.15.0
    • Fix Version/s: 1.15.0
    • Component/s: None
    • Labels:
      None

      Description

      After Sqlline was upgraded in DRILL-3853, in the query "EXPLAIN PLAN FOR .." results table has a very long first row with titles.

      After I run the query "EXPLAIN PLAN FOR SELECT 1;", width of the table column is calculated by the number of symbols in the biggest cell of columns.
      If there are new lines in the data, Sqlline should set width of this column by the longest line of the cells data instead of number of all symbols of that cell.

        Attachments

        1. Sqlline.png
          89 kB
          Denys Ordynskiy

          Issue Links

            Activity

              People

              • Assignee:
                arina Arina Ielchiieva
                Reporter:
                denysord88 Denys Ordynskiy
                Reviewer:
                Volodymyr Vysotskyi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: