You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Mihailo Milosevic (Jira)" <ji...@apache.org> on 2024/07/05 07:44:00 UTC

[jira] [Updated] (SPARK-48819) Fix SchemaOfJson Expression to work with Collations

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

Mihailo Milosevic updated SPARK-48819:
--------------------------------------
    Description: 
It was noticed that SchemaOfJson uses
`private lazy val jsonInferSchema = new JsonInferSchema(jsonOptions)`, which could potentially pose problem with collations, as JsonInferSchema only uses StringType object at all the places in the code.

> Fix SchemaOfJson Expression to work with Collations
> ---------------------------------------------------
>
>                 Key: SPARK-48819
>                 URL: https://issues.apache.org/jira/browse/SPARK-48819
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 4.0.0
>            Reporter: Mihailo Milosevic
>            Priority: Major
>
> It was noticed that SchemaOfJson uses
> `private lazy val jsonInferSchema = new JsonInferSchema(jsonOptions)`, which could potentially pose problem with collations, as JsonInferSchema only uses StringType object at all the places in the code.



--
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