Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-24644

QueryResultCache parses the query twice

    XMLWordPrintableJSON

    Details

    • Target Version/s:

      Description

      Query result cache lookup results by query text which has fully resolved table references.
      In order to generate this query text currently implementation

      • transforms the AST tree back to String
      • parses the String generated in above step
      • traverse the new AST and replaces the table references to the fully qualified ones
      • transforms the new AST tree back to String -> this will be the cache key

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kkasa Krisztian Kasa
                Reporter:
                kkasa Krisztian Kasa
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m