snuyanzin commented on code in PR #20850:
URL: https://github.com/apache/flink/pull/20850#discussion_r978758053


##########
flink-table/flink-table-planner/src/test/resources/org/apache/flink/table/planner/plan/batch/table/SetOperatorsTest.xml:
##########
@@ -99,13 +99,13 @@ HashJoin(joinType=[LeftSemiJoin], where=[(c = a1)], 
select=[a, b, c], build=[rig
   <TestCase name="testInWithProject">
     <Resource name="ast">
       <![CDATA[
-LogicalProject(b2=[AS(SEARCH($1, Sarg[1972-02-22 
07:12:00.333:TIMESTAMP(3)]:TIMESTAMP(3)), _UTF-16LE'b2')])
+LogicalProject(b2=[AS(=($1, 1972-02-22 07:12:00.333), _UTF-16LE'b2')])

Review Comment:
   As a result of https://issues.apache.org/jira/browse/CALCITE-4325



##########
flink-table/flink-table-planner/src/test/resources/org/apache/flink/table/planner/plan/batch/table/SetOperatorsTest.xml:
##########
@@ -99,13 +99,13 @@ HashJoin(joinType=[LeftSemiJoin], where=[(c = a1)], 
select=[a, b, c], build=[rig
   <TestCase name="testInWithProject">
     <Resource name="ast">
       <![CDATA[
-LogicalProject(b2=[AS(SEARCH($1, Sarg[1972-02-22 
07:12:00.333:TIMESTAMP(3)]:TIMESTAMP(3)), _UTF-16LE'b2')])
+LogicalProject(b2=[AS(=($1, 1972-02-22 07:12:00.333), _UTF-16LE'b2')])
 +- LogicalTableScan(table=[[default_catalog, default_database, A, source: 
[TestTableSource(a, b, c)]]])
 ]]>
     </Resource>
     <Resource name="optimized exec plan">
       <![CDATA[
-Calc(select=[SEARCH(b, Sarg[1972-02-22 07:12:00.333]) AS b2])
+Calc(select=[(b = 1972-02-22 07:12:00.333) AS b2])

Review Comment:
   As a result of https://issues.apache.org/jira/browse/CALCITE-4325



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to