Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-39279 Fasten the schema inference of CSV/JSON data source
  3. SPARK-39281

Speed up Timestamp type inference of legacy format in JSON/CSV data source

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.5.0
    • SQL
    • None

    Description

      The optimization of DefaultTimestampFormatter has been implemented in #36562 , this ticket adds the optimization of legacy format. The basic logic is to prevent the formatter from throwing exceptions, and then use catch to determine whether the parsing is successful.

      Attachments

        Activity

          People

            fanjia Jia Fan
            Gengliang.Wang Gengliang Wang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: