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

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: