Alexey Kudinkin created HUDI-5392:
-------------------------------------

             Summary: Fix Bootstrap files reader to configure arrays to be read 
in the new format
                 Key: HUDI-5392
                 URL: https://issues.apache.org/jira/browse/HUDI-5392
             Project: Apache Hudi
          Issue Type: Bug
          Components: bootstrap
            Reporter: Alexey Kudinkin


When writing Bootstrap file we’re using Spark writer that writes arrays in the 
new format, while Hudi reads it in the old (Avro compatible) format:
  // Old
 optional group tip_history (LIST) \{
    repeated group array {
      optional double amount;
      optional binary currency (UTF8);
    }
  }

 // new
 optional group tip_history (LIST) \{
    repeated group list {
      optional group element {
        optional double amount;
        optional binary currency (UTF8);
      }
    }
  }



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

Reply via email to