Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-16247

SparkSQL Avro serialization doesn't handle enums correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0
    • None
    • hbase-connectors, spark
    • None

    Description

      Avro's generic api expects GenericEnumSymbol as the runtime type for instances of fields that are of Avro type ENUM. The Avro 1.7 libraries are lax in some cases for handling this, but the 1.8 libraries are strict. We should proactively fix our serialization.

      (the lax serialization in 1.7 fails for some nested use in unions, see AVRO-997 for details)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              busbey Sean Busbey
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: