Julian Hyde created CALCITE-1339:
------------------------------------
Summary: Allow deeply nested scalar expressions
Key: CALCITE-1339
URL: https://issues.apache.org/jira/browse/CALCITE-1339
Project: Calcite
Issue Type: Bug
Reporter: Julian Hyde
Assignee: Julian Hyde
Allow deeply nested scalar expressions. Currently an expression '0 * deptno + 1
* deptno + ...' causes a StackOverflowError at about 600 (depth 1,200).
I suspect we need to change some recursive functions (or visitors) into dynamic
programming. The attached workspace adds SqlToRelConverterTest.testLarge (based
on SqlValidatorTest.testLarge) and flattens some recursive calls.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)