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

Recursive queries to method collectResourceRecursively(ResourceStore.java) is not necessary

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: v0.7.1
    • Fix Version/s: v0.7.1
    • Component/s: None
    • Labels:

      Description

      it is not necessary collect Resource Recursively when kylin load metadata to cache
      because the path of Resource in table kylin_metadata such as /cube , /cube_desc etc. is not prefix structure as follow example

      /a/b
      /a/b/xx
      /a/b/xx/xx
      /a/b/yy/yy
      /a/c

      even it have the prefix structure also it is unnecessary
      for example it will get all the records with prefix ‘a/b’ when query ‘a/b’

      /a/b
      /a/b/xx
      /a/b/xx/xx
      /a/b/yy/yy

      when query ’/a/b/xx‘ it will return children of it

      /a/b/xx/xx (it already queried before)

      so it is not necessary to query path of resource recursively

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              henryz steven zhang

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment