Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
Description
HUDI-2681 adds support for auto record key generation with spark dataframes. This Jira aims to add support for the same with spark sql.
One of the changes required here as pointed out by kazdy is that SQL_INSERT_MODE would need to be handled here. In this case if SQL_INSERT_MODE mode is set to strict, the insert should fail.
cc shivnarayan
Essentially, based on this patch (https://github.com/apache/hudi/pull/7681),
we want to ensure spark-sql writes also supports auto generation of record keys.