[
https://issues.apache.org/jira/browse/KYLIN-6070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17930260#comment-17930260
]
Guoliang Sun commented on KYLIN-6070:
-------------------------------------
h3. Root Cause
The original logic counted query occurrences from the `query_snapshots` list in
`query_history`, without distinguishing between snapshots and internal tables.
This caused all usage counts to be attributed to snapshot metadata, regardless
of whether an internal table or snapshot was used.
Additionally, for cases where direct internal table queries are selected on the
page, no related information is stored in `query_history` metadata,
necessitating the recording of internal table usage information.
> Internal Table Usage Count Not Properly Tracked After Query on Management Page
> ------------------------------------------------------------------------------
>
> Key: KYLIN-6070
> URL: https://issues.apache.org/jira/browse/KYLIN-6070
> Project: Kylin
> Issue Type: Bug
> Affects Versions: 5.0.0
> Reporter: Guoliang Sun
> Assignee: Guoliang Sun
> Priority: Major
> Fix For: 5.0.2
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)