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

[jira] [Closed] (HUDI-2682) Spark schema not updated with new columns on hive sync

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

Raymond Xu closed HUDI-2682.
----------------------------
     Reviewers: Tao Meng
    Resolution: Fixed

> Spark schema not updated with new columns on hive sync
> ------------------------------------------------------
>
>                 Key: HUDI-2682
>                 URL: https://issues.apache.org/jira/browse/HUDI-2682
>             Project: Apache Hudi
>          Issue Type: Bug
>          Components: Hive Integration, Spark Integration
>    Affects Versions: 0.9.0
>            Reporter: Charlie Briggs
>            Assignee: 董可伦
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 0.10.1
>
>
> When syncing hive schema, new columns added from the source dataset are not propagated to the `spark.sql.sources.schema` metadata on the hive table. This leads to columns not being available when querying the dataset via spark SQL.
> Tested with both spark data writer and deltastreamer).
> The column we observed this on was a struct column, but it seems like it would be independent of datatype.



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