yaooqinn opened a new pull request, #11685: URL: https://github.com/apache/incubator-gluten/pull/11685
## What changes were proposed in this pull request? Map Spark's `AssertNotNull` expression to Velox's `assert_not_null` function, enabling native execution for NOT NULL constraint validation during table inserts. `AssertNotNull` is used by Spark's `TableOutputResolver` to enforce NOT NULL column constraints. When a nullable column is inserted into a non-nullable target column, Spark wraps the expression with `AssertNotNull` to 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. -- 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]
