You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shrirang Mhalgi (Jira)" <ji...@apache.org> on 2026/06/23 07:20:00 UTC

[jira] [Created] (SPARK-57634) Support TIME type inference in XML data source

Shrirang Mhalgi created SPARK-57634:
---------------------------------------

             Summary: Support TIME type inference in XML data source
                 Key: SPARK-57634
                 URL: https://issues.apache.org/jira/browse/SPARK-57634
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 4.3.0
            Reporter: Shrirang Mhalgi


{{After SPARK-57572 added TIME type inference to CSV and JSON data sources, XML is the only text-based format without TIME inference support.}}

{{}}

{{This Jira adds TimeType inference to XmlInferSchema following the same pattern:- TIME checked after numeric/boolean, before date/timestamp - Gated by spark.sql.timeType.enabled
- Uses DEFAULT_PRECISION
- Read/write paths already exist in StaxXmlParser/StaxXmlGenerator}}

{{}}

{{Noted as a follow-up in the [https://github.com/apache/spark/pull/56634] review by [~maxgekk] }}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org