Hans Zeller created TRAFODION-2578:
--------------------------------------
Summary: Internal error 2235 with UDFs and subquery unnesting
Key: TRAFODION-2578
URL: https://issues.apache.org/jira/browse/TRAFODION-2578
Project: Apache Trafodion
Issue Type: Bug
Components: sql-cmp
Affects Versions: 1.3-incubating
Reporter: Hans Zeller
Assignee: Hans Zeller
Fix For: 2.2-incubating
I've seen this error when compiling query plans with TMUDFs:
*** ERROR[2235] Compiler Internal Error: An unknown error, originated from file
../optimizer/RelRoutine.cpp at line 465.
The issue is in method RelExpr::getMoreOutputsIfPossible(), which is used
during semantic query optimization to get additional key columns from RelExprs.
This calls TableMappingUDF::getPotentialOutputValuesAsVEGs(), which is stubbed
out with an assert.
We either need to make RelExpr::getMoreOutputsIfPossible() virtual and override
it for TableMappingUDF, or implement
TableMappingUDF::getPotentialOutputValuesAsVEGs(). Right now I'm leaning
towards the former.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)