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

Maxim Gekk updated SPARK-30166:
-------------------------------
    Summary: Eliminate warnings in JSONOptions  (was: Eliminate compilation 
warnings in JSONOptions)

> Eliminate warnings in JSONOptions
> ---------------------------------
>
>                 Key: SPARK-30166
>                 URL: https://issues.apache.org/jira/browse/SPARK-30166
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Maxim Gekk
>            Priority: Minor
>
> Scala 2.12 outputs the following warnings for JSONOptions:
> {code}
> sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/json/JSONOptions.scala
>     Warning:Warning:line (137)Java enum ALLOW_NUMERIC_LEADING_ZEROS in Java 
> enum Feature is deprecated: see corresponding Javadoc for more information.
>     factory.configure(JsonParser.Feature.ALLOW_NUMERIC_LEADING_ZEROS, 
> allowNumericLeadingZeros)
>     Warning:Warning:line (138)Java enum ALLOW_NON_NUMERIC_NUMBERS in Java 
> enum Feature is deprecated: see corresponding Javadoc for more information.
>     factory.configure(JsonParser.Feature.ALLOW_NON_NUMERIC_NUMBERS, 
> allowNonNumericNumbers)
>     Warning:Warning:line (139)Java enum 
> ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER in Java enum Feature is deprecated: 
> see corresponding Javadoc for more information.
>     
> factory.configure(JsonParser.Feature.ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER,
>     Warning:Warning:line (141)Java enum ALLOW_UNQUOTED_CONTROL_CHARS in Java 
> enum Feature is deprecated: see corresponding Javadoc for more information.
>     factory.configure(JsonParser.Feature.ALLOW_UNQUOTED_CONTROL_CHARS, 
> allowUnquotedControlChars)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to