[
https://issues.apache.org/jira/browse/KYLIN-4685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17172375#comment-17172375
]
ASF GitHub Bot commented on KYLIN-4685:
---------------------------------------
hit-lacus commented on a change in pull request #1345:
URL: https://github.com/apache/kylin/pull/1345#discussion_r466420006
##########
File path: query/src/main/java/org/apache/kylin/query/util/QueryUtil.java
##########
@@ -178,6 +178,12 @@ public static String makeErrorMsgUserFriendly(Throwable e)
{
msg = "NumberFormatException: " + cause.getMessage();
break;
}
+
+ //where in(...) condition has too many elements
+ if (cause.getClass().equals(StackOverflowError.class)) {
Review comment:
I guess, that **Too Many Filters** is not the only cause of
`StackOverflowError`, do you confirm it?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> return user friendly msg when stackoverflowerror
> ------------------------------------------------
>
> Key: KYLIN-4685
> URL: https://issues.apache.org/jira/browse/KYLIN-4685
> Project: Kylin
> Issue Type: Improvement
> Reporter: chuxiao
> Priority: Minor
>
> when sql "where in(..)" has too many elements, stackoverflowerror, and
> return 500 inernalerror.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)