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] [Updated] (HUDI-3820) Validate switching between different key generators will throw exception

     [ https://issues.apache.org/jira/browse/HUDI-3820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sivabalan narayanan updated HUDI-3820:
--------------------------------------
    Fix Version/s: 0.12.0

> 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
>            Priority: Major
>             Fix For: 0.12.0
>
>
> 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)