Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3536

PrepareStatement cache issue when there are new segments built

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v2.5.0
    • Component/s: Query Engine
    • Labels:
      None

      Description

      PrepareStatement cache will have issue when there are new segments built, because the OLAPContext is cached with preparedStatement, and the choosed Realization is cached in the OLAPContext, so if there are new segments built after cache, the new segments will not be used for the query. The fix is always use the latest Realization Instance in the OLAPContext.

        Attachments

        1. KYLIN-3536.patch
          3 kB
          Gang Ma

          Activity

            People

            • Assignee:
              magang Gang Ma
              Reporter:
              magang Gang Ma
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: