spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-22739) Additional Expression Support for Objects
Date Tue, 26 Dec 2017 19:45:04 GMT

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

Apache Spark reassigned SPARK-22739:
------------------------------------

    Assignee:     (was: Apache Spark)

> Additional Expression Support for Objects
> -----------------------------------------
>
>                 Key: SPARK-22739
>                 URL: https://issues.apache.org/jira/browse/SPARK-22739
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 2.3.0
>            Reporter: Aleksander Eskilson
>
> Some discussion in Spark-Avro [1] motivates additions and minor changes to the {{Objects}}
Expressions API [2]. The proposed changes include
> * a generalized form of {{initializeJavaBean}} taking a sequence of initialization expressions
that can be applied to instances of varying objects
> * an object cast that performs a simple Java type cast against a value
> * making {{ExternalMapToCatalyst}} public, for use in outside libraries
> These changes would facilitate the writing of custom encoders for varying objects that
cannot already be readily converted to a statically typed dataset by a JavaBean encoder (e.g.
Avro).
> [1] -- https://github.com/databricks/spark-avro/pull/217#issuecomment-342599110
> [2] --
>  https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/objects/objects.scala



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message