[ 
https://issues.apache.org/jira/browse/FLINK-19668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flink Jira Bot updated FLINK-19668:
-----------------------------------
    Labels: auto-deprioritized-major stale-minor  (was: 
auto-deprioritized-major)

I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help 
the community manage its development. I see this issues has been marked as 
Minor but is unassigned and neither itself nor its Sub-Tasks have been updated 
for 180 days. I have gone ahead and marked it "stale-minor". If this ticket is 
still Minor, please either assign yourself or give an update. Afterwards, 
please remove the label or in 7 days the issue will be deprioritized.


> Fix the plan regression by Calcite upgrade to 1.26
> --------------------------------------------------
>
>                 Key: FLINK-19668
>                 URL: https://issues.apache.org/jira/browse/FLINK-19668
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Planner
>    Affects Versions: 1.11.3
>            Reporter: Danny Chen
>            Priority: Minor
>              Labels: auto-deprioritized-major, stale-minor
>
> See org.apache.flink.table.plan.TimeIndicatorConversionTest.testUnion,
> {code:java}
> @Test
>   def testUnion(): Unit = {
>     val util = streamTestUtil()
>     val t = util.addTable[(Long, Long, Int)]("MyTable", 'rowtime.rowtime, 
> 'long, 'int)
>     val result = t.unionAll(t).select('rowtime)
>     val expected = unaryNode(
>       "DataStreamCalc",
>       binaryNode(
>         "DataStreamUnion",
>         streamTableNode(t),
>         streamTableNode(t),
>         term("all", "true"),
>         term("union all", "rowtime, long, int")
>       ),
>       term("select", "rowtime")
>     )
>     util.verifyTable(result, expected)
>   }
> {code}
> The regression is because the new plan has same cost with the old, thus, the 
> old was not picked as the best.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to