You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Ethan Guo (Jira)" <ji...@apache.org> on 2023/02/08 02:31:00 UTC

[jira] [Updated] (HUDI-5244) Fix bugs in schema evolution client with lost operation field and not found schema

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

Ethan Guo updated HUDI-5244:
----------------------------
    Fix Version/s:     (was: 0.13.0)

> Fix bugs in schema evolution client with lost operation field and not found schema
> ----------------------------------------------------------------------------------
>
>                 Key: HUDI-5244
>                 URL: https://issues.apache.org/jira/browse/HUDI-5244
>             Project: Apache Hudi
>          Issue Type: Sub-task
>            Reporter: Alexander Trushev
>            Assignee: Alexander Trushev
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 0.12.2
>
>
> Currently, BaseHoodieWriteClient contains schema evolution methods such as
> * addColumn
> * deleteColumns
> * renameColumn
> * updateColumnNullability
> * updateColumnType
> * updateColumnComment
> * reOrderColPosition
> These methods are not covered with tests and contain two issues:
> # Lost operation field in avro schema
> # Not found schema for table
> {code:java}
> org.apache.hudi.exception.HoodieException: cannot find schema for current table: /tmp/hudi
> 	at org.apache.hudi.client.BaseHoodieWriteClient.getInternalSchemaAndMetaClient(BaseHoodieWriteClient.java:1767)
> 	at org.apache.hudi.client.BaseHoodieWriteClient.addColumn(BaseHoodieWriteClient.java:1673)
> 	at org.apache.hudi.sink.TestWriteCopyOnWrite.test(TestWriteCopyOnWrite.java:454)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)