[
https://issues.apache.org/jira/browse/HUDI-8584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sivabalan narayanan closed HUDI-8584.
-------------------------------------
Resolution: Fixed
[https://github.com/apache/hudi/commit/7c1431dce45a46ee5f543a42303f068968484192]
> Unify the unsupported types across SPARK and AVRO record type
> -------------------------------------------------------------
>
> Key: HUDI-8584
> URL: https://issues.apache.org/jira/browse/HUDI-8584
> Project: Apache Hudi
> Issue Type: Sub-task
> Components: metadata
> Reporter: sivabalan narayanan
> Assignee: sivabalan narayanan
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 1.0.1
>
>
> As of now, here is what our unsupported types look like
> {code:java}
> private static boolean canCompare(Schema schema, HoodieRecordType recordType)
> {
> // if recordType is SPARK then we cannot compare RECORD and ARRAY types in
> addition to MAP type
> if (recordType == HoodieRecordType.SPARK) {
> return schema.getType() != Schema.Type.RECORD && schema.getType() !=
> Schema.Type.ARRAY && schema.getType() != Schema.Type.MAP;
> }
> return schema.getType() != Schema.Type.MAP;
> } {code}
> Lets unify the exp here.
> we can make MAP, ARRAYS, RECORD as unsupported types across both record
> types. Eventually we might move to SPARK record type. So, anyways those are
> not supported at the moment.
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)