[
https://issues.apache.org/jira/browse/KYLIN-4929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17299343#comment-17299343
]
ASF subversion and git services commented on KYLIN-4929:
--------------------------------------------------------
Commit 448d38a103bfad2bffb94cfb21fa20a99d6d9ad3 in kylin's branch
refs/heads/master from Congling Xia
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=448d38a ]
KYLIN-4929 skip update metrics for queries that hit no realization (#1605)
* skip update metrics for queries that hit no realization
* use string empty check
> skip metrics update for simple queries to avoid NPE warnings
> ------------------------------------------------------------
>
> Key: KYLIN-4929
> URL: https://issues.apache.org/jira/browse/KYLIN-4929
> Project: Kylin
> Issue Type: Improvement
> Components: Metrics
> Reporter: Congling Xia
> Assignee: Congling Xia
> Priority: Minor
> Fix For: v3.1.2
>
>
> Users may use simple queries like 'select 1' to check the availability of
> kylin service. No realization is needed for such queries. Metric system will
> raise NullPointerException when trying to get the name of the realization.
> It does not cause the query to fail, but prints a lot of annoying warning
> logs with stack-traces.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)