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

Expose JsonRDD.allKeysWithValueTypes() in a utility class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • SQL
    • None

    Description

      I have found this method extremely useful when implementing my own strategy for inferring a schema from parsed json. For now, I've actually copied the method right out of the JsonRDD class into my own project but I think it would be immensely useful to keep the code in Spark and expose it publicly somewhere else- like an object called JsonSchema.

      Attachments

        Issue Links

          Activity

            People

              sonixbp Corey J. Nolet
              sonixbp Corey J. Nolet
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: