Details
-
Sub-task
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
Description
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
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)
Attachments
Issue Links
- links to