Anonymous Coward (816) has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/22864 )

Change subject: IMPALA-14041: Enable planner tests
......................................................................


Patch Set 4:

set use_calcite_planner=1;

select casttobigint(100000);
+------------------------------------------------------------------------------------------------------------------------------+
| AnalyzedFunctionCallExpr{id=null, type=BIGINT, toSql=casttobigint(CAST(100000 
AS INT)), sel=-1.0, evalCost=1.0, #distinct=1} |
+------------------------------------------------------------------------------------------------------------------------------+
| 100000                                                                        
                                               |
+------------------------------------------------------------------------------------------------------------------------------+
Fetched 1 row(s) in 0.11s


set use_calcite_planner=0;

select casttobigint(100000);

ERROR: AnalysisException: casttobigint(100000) is reserved for internal use 
only. Use 'cast(expr AS type)' instead.


--
To view, visit http://gerrit.cloudera.org:8080/22864
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Idaab4e9068bb64e9a9ee12d83cd2b6b55b99b9bf
Gerrit-Change-Number: 22864
Gerrit-PatchSet: 4
Gerrit-Owner: Steve Carlin <[email protected]>
Gerrit-Reviewer: Aman Sinha <[email protected]>
Gerrit-Reviewer: Anonymous Coward (816)
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>
Gerrit-Reviewer: Steve Carlin <[email protected]>
Gerrit-Comment-Date: Wed, 21 May 2025 10:54:14 +0000
Gerrit-HasComments: No

Reply via email to