Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2433

SqlAdvisor.getCompletionHints is hard-coded for " quoting

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.17.0
    • Fix Version/s: 1.18.0
    • Component/s: core
    • Labels:
      None

      Description

      Relevant source:

          boolean quoted = false;
          while (wordStart > 0
              && Character.isJavaIdentifierPart(sql.charAt(wordStart - 1))) {
            --wordStart;
          }
          if ((wordStart > 0)
              && (sql.charAt(wordStart - 1) == '"')) { // <-- It should get quoting from the connection
            quoted = true;
            --wordStart;
          }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                julianhyde Julian Hyde
                Reporter:
                vladimirsitnikov Vladimir Sitnikov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: