peterxcli opened a new pull request, #3390: URL: https://github.com/apache/datafusion-comet/pull/3390
## Which issue does this PR close? <!-- We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123. --> Closes https://github.com/apache/datafusion-comet/issues/3388. ## Rationale for this change show the exact file and line location of the sql that cause error in slt. so the user will be easier identify the problem. ## What changes are included in this PR? only the sql test suit and the sql test parser. - the result will be like: ```sql - sql-file: expressions/map/map_contains_key.sql [parquet.enable.dictionary=false] *** FAILED *** (6 seconds, 257 milliseconds) In SQL file expressions/map/map_contains_key.sql:29, executing query: select map_contains_key(map_from_arrays(array(1, 2), array('a', 'b')), 5.0) Expected only Comet native operators, but found Project. plan: Project [COMET: Cast from MapType(IntegerType,StringType,false) to MapType(DecimalType(11,1),StringType,false) is not supported] +- Scan OneRowRelation ``` - and the original is like: ```sql - sql-file: expressions/map/map_contains_key.sql [parquet.enable.dictionary=false] *** FAILED *** (5 seconds, 608 milliseconds) Expected only Comet native operators, but found Project. plan: Project [COMET: map is not supported] +- Scan OneRowRelation ``` ## How are these changes tested? -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
