Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-6384 Implement all Hive data types in Parquet
  3. HIVE-9657

Use new parquet Types API builder to construct data types

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Parquet is going to remove the constructors from the public API in favor of the builder, We must use the new Types API for primitive types in:

      HiveSchemaConverter.java

      .

      This is to avoid invalid types, like an INT64 with a DATE annotation.

      An example for a DATE datatype:

      Types.primitive(repetition, INT32).as(DATE).named(name);
      

        Attachments

        1. HIVE-9657.1.patch
          3 kB
          Ferdinand Xu
        2. HIVE-9657.patch
          3 kB
          Ferdinand Xu

          Issue Links

            Activity

              People

              • Assignee:
                Ferd Ferdinand Xu
                Reporter:
                spena Sergio Peña
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: