Congling Xia created KYLIN-4929:
-----------------------------------
Summary: 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
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)