[
https://issues.apache.org/jira/browse/TRAFODION-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hans Zeller updated TRAFODION-2578:
-----------------------------------
Fix Version/s: (was: 2.2-incubating)
> 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
>
> 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.4.14#64029)