Skip to content

chore: update SQL builtin functions assertion modes#4148

Open
comphead wants to merge 2 commits intoapache:mainfrom
comphead:builtin
Open

chore: update SQL builtin functions assertion modes#4148
comphead wants to merge 2 commits intoapache:mainfrom
comphead:builtin

Conversation

@comphead
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Closes #.

Followup on #4147 (comment)

Rationale for this change

What changes are included in this PR?

How are these changes tested?

@comphead
Copy link
Copy Markdown
Contributor Author

Right doesnt' work as expected

SELECT right(s, 3) FROM test_str_right
Expected only Comet native operators, but found Project.
plan:  Project [COMET: Substring pos and len must be literals]
+- CometNativeColumnarToRow
   +- CometNativeScan parquet spark_catalog.default.test_str_right

This is a main case and it shouldn't fallback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant