You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "sivabalan narayanan (Jira)" <ji...@apache.org> on 2022/04/07 14:10:00 UTC

[jira] [Created] (HUDI-3820) Validate switching between different key generators will throw exception

sivabalan narayanan created HUDI-3820:
-----------------------------------------

             Summary: Validate switching between different key generators will throw exception
                 Key: HUDI-3820
                 URL: https://issues.apache.org/jira/browse/HUDI-3820
             Project: Apache Hudi
          Issue Type: Task
          Components: spark
            Reporter: sivabalan narayanan


We should add validation and tests to ensure switching from one key gen to another for a given table fails. If user made a mistake in setting the right key gen, our recommendation is to re-generate the entire table again. bcoz, upserts/merge may not function well if key gen is modified. So, might as well re-build entire table.

 

Also, ensure with "insert_overwrite_table" we should not do the validation and over-ride table config w/ new key gen props. 

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)