[ 
https://issues.apache.org/jira/browse/HUDI-4184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17550983#comment-17550983
 ] 

Tao Meng commented on HUDI-4184:
--------------------------------

I suggest moving the schema from hoodie.properties.  

1) we has already  stored  latest schema  in our commit file. 

2) This schema will only be written once, if schema evolution happen in the 
future. The schema from  hoodie.properties will be inconsistent with current 
table schema.

> Creating external table in Spark SQL modifies "hoodie.properties"
> -----------------------------------------------------------------
>
>                 Key: HUDI-4184
>                 URL: https://issues.apache.org/jira/browse/HUDI-4184
>             Project: Apache Hudi
>          Issue Type: Bug
>            Reporter: Alexey Kudinkin
>            Assignee: Sagar Sumit
>            Priority: Critical
>
> My setup was like following:
>  # There's a table existing in one AWS account
>  # I'm trying to access that table from Spark SQL from _another_ AWS account 
> that only has Read permissions to the bucket with the table.
>  # Now when issuing "CREATE TABLE" Spark SQL command it fails b/c Hudi tries 
> to modify "hoodie.properties" file for whatever reason, even though i'm not 
> modifying the table and just trying to create table in the catalog.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to