Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6419

Unused getResolverForQuery() in QueryCompiler.verifySCN()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 5.1.0, 4.16.0
    • 4.17.0, 5.2.0, 5.1.2, 4.16.2
    • core
    • None

    Description

      in org.apache.phoenix.compile.QueryCompiler.verifySCN()

      we create a resolver that we don't use.

              ColumnResolver resolver =
                  FromCompiler.getResolverForQuery(select, conn);
      

      AFAICT this has no side effects that we need, and should be removed.

      Attachments

        Activity

          People

            stoty Istvan Toth
            stoty Istvan Toth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: