Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-1876

Improve JDBC autocompletion - schema, tables, columns and aliases

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: Interpreters
    • Labels:

      Description

      Autocompletion mixes schema, tables and colums names.
      No matter where in sql my cursor is and what am I writing it shows all schemas, tables and columns mixed together.

      But more logic if autocompletion will depend on the context.

      Command Cursor position What autocompletion must show
      select * from some at the end only schema names
      select * from some_schema.some at the end only tables from some_schema schema
      select * from some_schema.some_table a where a.some at the end only columns from some_schema.some_table table
      select a.some from some_schema.some_table after a.some only columns from some_schema.some_table table

        Attachments

        1. auto3.JPG
          21 kB
          Sergey Sotnichenko
        2. auto2.JPG
          18 kB
          Sergey Sotnichenko
        3. auto1.JPG
          22 kB
          Sergey Sotnichenko

          Activity

            People

            • Assignee:
              sotnich Sergey Sotnichenko
              Reporter:
              sotnich Sergey Sotnichenko
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 120h
                120h
                Remaining:
                Remaining Estimate - 120h
                120h
                Logged:
                Time Spent - Not Specified
                Not Specified