[
https://issues.apache.org/jira/browse/CALCITE-5906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
LakeShen updated CALCITE-5906:
------------------------------
Description:
Currently in the RelToSqlConverter class, there is no visit method to handle
the Sample RelNode.If a SQL plan has Sample RelNode, RelToSqlConverter will
throw a AssertionError like this:
{code:java}
java.lang.AssertionError: Need to implement org.apache.calcite.rel.core.Sample
{code}
was:Currently in the RelToSqlConverter class, there is no visit method to
handle the Sample RelNode.If a SQL plan has Sample RelNode, RelToSqlConverter
will throw a
> RelToSqlConverter throw AssertionError when RelNode tree has the Sample
> RelNode
> -------------------------------------------------------------------------------
>
> Key: CALCITE-5906
> URL: https://issues.apache.org/jira/browse/CALCITE-5906
> Project: Calcite
> Issue Type: Bug
> Reporter: LakeShen
> Priority: Major
> Fix For: 1.36.0
>
>
> Currently in the RelToSqlConverter class, there is no visit method to handle
> the Sample RelNode.If a SQL plan has Sample RelNode, RelToSqlConverter will
> throw a AssertionError like this:
> {code:java}
> java.lang.AssertionError: Need to implement
> org.apache.calcite.rel.core.Sample
> {code}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)