Skip to content

[GLUTEN-13457][FLINK][VL] Support NOT, IS FALSE, IS NOT TRUE to the velox flinksql functions - #13461

Open
sunshone wants to merge 1 commit into
apache:mainfrom
sunshone:flinksql-logical-expressions
Open

sunshone wants to merge 1 commit into
apache:mainfrom
sunshone:flinksql-logical-expressions

Conversation

@sunshone

@sunshone sunshone commented Oct 26, 2026 •

Copy link
Copy Markdown

What changes are proposed in this pull request?

Fixes #13457

Maps the Flink logical expressions to their velox flinksql implementations (companion velox PR bigo-sg/velox#90):

  • RexCallConverterFactory: NOT / IS FALSE / IS NOT TRUE / IS NOT FALSE entries — direct name mappings; these previously failed planning with "Function not supported". IS TRUE keeps its existing IsTrueRexCallConverter (unchanged).

The is_* names exist only in the velox flinksql namespace (companion PR), so landing order / version pairing matters; not exists in the baseline and the companion PR registers a behavior-identical flinksql vector function under the same name, moving dialect ownership of the runtime path.

How was this patch tested?

  • Planner-level: Maven RexNodeConverterTest 2/2; streaming operator suites (filter 8 run / 0 fail / 3 pre-existing skips; project 1/1).
  • End-to-end dual-run on Flink 1.19.2 (classpath-switched cluster, plan snapshots verify mode): 6 SQL cases, all FINISHED on both engines; 5/5 comparable cases exact match after changelog folding — full truth-table projections incl. NULL rows, IS NOT TRUE filters, planner-absorbed NOT, nested forms, boolean-family regression. One GROUP BY case excluded — pre-existing keyed-aggregation defect, reproduced identically before this change.

- RexCallConverterFactory: add converter entries for NOT, IS FALSE,
  IS NOT TRUE, IS NOT FALSE (default name mapping to the flinksql-
  registered functions; NOT overwrites the baseline via the same
  name in the vector function tier)

IS TRUE keeps the original IsTrueRexCallConverter.
@github-actions github-actions Bot added the FLINK label Oct 26, 2026

This branch has not been deployed

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FLINK][VL] Support the NOT, IS FALSE, IS NOT TRUE, logical expressions

2 participants