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

PrepareStatement cache issue when there are new segments built

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • v2.5.0
    • Query Engine
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: