[ 
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.  (was: 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to