[ 
https://issues.apache.org/jira/browse/SPARK-57634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shrirang Mhalgi updated SPARK-57634:
------------------------------------
    Description: 
{{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]

  was:
{{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]


> 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
>            Priority: Major
>              Labels: pull-request-available
>
> {{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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to