[
https://issues.apache.org/jira/browse/KYLIN-5402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17684080#comment-17684080
]
pengfei.zhan commented on KYLIN-5402:
-------------------------------------
h2. Root Cause
According to the description, the block of 'for' is used for transforming the
inner expression of a computed column will create an ACL object for each with a
user and user group. However, there is no need to create a new ACL object for
each computed column, they can share the same one. Otherwise, if there are many
computed columns, the performance is poor.
h2. Dev Design
The step of creating an ACL object can be put out of the block, so transforming
the inner expression of all computed columns can share the same object.
> Improve performance of checking computed column
> -----------------------------------------------
>
> Key: KYLIN-5402
> URL: https://issues.apache.org/jira/browse/KYLIN-5402
> Project: Kylin
> Issue Type: Improvement
> Components: Modeling
> Affects Versions: 5.0-alpha
> Reporter: pengfei.zhan
> Assignee: pengfei.zhan
> Priority: Major
> Fix For: 5.0-alpha
>
> Attachments: 40133-2.png
>
>
> When running UT of Kylin5, there occur many unnecessary error logs which are
> caused by creating nonsense ACL-related objects.
> !40133-2.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)