[
https://issues.apache.org/jira/browse/SPARK-57634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Max Gekk resolved SPARK-57634.
------------------------------
Fix Version/s: 4.3.0
Resolution: Fixed
Issue resolved by pull request 56697
[https://github.com/apache/spark/pull/56697]
> 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
> Assignee: Shrirang Mhalgi
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.3.0
>
>
> {{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]