[VL] Enable assert_not_null expression for Velox backend#11685
[VL] Enable assert_not_null expression for Velox backend#11685yaooqinn wants to merge 1 commit intoapache:mainfrom
Conversation
|
Run Gluten Clickhouse CI on x86 |
|
Run Gluten Clickhouse CI on x86 |
6552555 to
aefddaf
Compare
|
Run Gluten Clickhouse CI on x86 |
|
Please update, the corresponding PR should have been merged to Gluten Velox branch |
aefddaf to
b400747
Compare
|
Updated. Rebased onto latest main and reverted to the official Velox branch ( |
|
Run Gluten Clickhouse CI on x86 |
b400747 to
f90483e
Compare
|
Run Gluten Clickhouse CI on x86 |
749ac80 to
f7ff6e4
Compare
|
Run Gluten Clickhouse CI on x86 |
f7ff6e4 to
bd3347c
Compare
|
Run Gluten Clickhouse CI on x86 |
bd3347c to
1a7e9a4
Compare
|
Run Gluten Clickhouse CI on x86 |
1 similar comment
|
Run Gluten Clickhouse CI on x86 |
d2ae4c1 to
7b3c2ec
Compare
|
Run Gluten Clickhouse CI on x86 |
1 similar comment
|
Run Gluten Clickhouse CI on x86 |
a796b5a to
3831650
Compare
|
Run Gluten Clickhouse CI on x86 |
|
Run Gluten Clickhouse CI on x86 |
b79b500 to
643825e
Compare
|
Run Gluten Clickhouse CI on x86 |
643825e to
dc58e35
Compare
|
Run Gluten Clickhouse CI on x86 |
dc58e35 to
c0da9a4
Compare
|
Run Gluten Clickhouse CI on x86 |
Register Spark's AssertNotNull expression mapping for the Velox backend. The corresponding Velox implementation was merged via facebookincubator/velox#16562.
c0da9a4 to
9176d36
Compare
|
Run Gluten Clickhouse CI on x86 |
What changes were proposed in this pull request?
Map Spark's
AssertNotNullexpression to Velox'sassert_not_nullfunction, enabling native execution for NOT NULL constraint validation during table inserts.AssertNotNullis used by Spark'sTableOutputResolverto enforce NOT NULL column constraints. When a nullable column is inserted into a non-nullable target column, Spark wraps the expression withAssertNotNullto validate at runtime.The Velox implementation (merged in facebookincubator/velox#16562) validates non-null values at runtime and throws a user error for null inputs.
How was this patch tested?
Existing CI tests. The Velox function has been thoroughly tested with unit tests and fuzzer testing.