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

Improve JDBC autocompletion - schema, tables, columns and aliases

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.8.0
    • Interpreters

    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. auto1.JPG
          22 kB
          Sergey Sotnichenko
        2. auto2.JPG
          18 kB
          Sergey Sotnichenko
        3. auto3.JPG
          21 kB
          Sergey Sotnichenko

        Activity

          People

            sotnich Sergey Sotnichenko
            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