Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-25178

Directly ship the StructType objects of the keySchema / valueSchema for xxxHashMapGenerator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • SQL
    • None

    Description

      Following SPARK-18952 and SPARK-22273, this ticket proposes to change the generated field name of the keySchema / valueSchema to a dummy name instead of using key.name.

      In previous discussion from SPARK-18952's PR [1], it was already suggested that the field names were being used, so it's not worth capturing the strings as reference objects here. Josh suggested merging the original fix as-is due to backportability / pickability concerns. Now that we're coming up to a new release, this can be revisited.

      [1]: https://github.com/apache/spark/pull/16361#issuecomment-270253719

      Attachments

        Activity

          People

            kiszk Kazuaki Ishizaki
            rednaxelafx Kris Mok
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: