You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "L. C. Hsieh (Jira)" <ji...@apache.org> on 2024/01/22 08:12:00 UTC

[jira] [Created] (SPARK-46791) Support Java `Set` in JavaTypeInference

L. C. Hsieh created SPARK-46791:
-----------------------------------

             Summary: Support Java `Set` in JavaTypeInference
                 Key: SPARK-46791
                 URL: https://issues.apache.org/jira/browse/SPARK-46791
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 4.0.0
            Reporter: L. C. Hsieh
            Assignee: L. C. Hsieh


Scala Set (scala.collection.Set) is supported in ScalaReflection so users can encode Scala Set in Dataset. But Java Set is not supported in bean encoder (i.e., JavaTypeInference). This feature inconsistency makes Java users cannot use Set like Scala users do.




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