GitHub user bdrillard opened a pull request:
https://github.com/apache/spark/pull/20085
[SPARK-22739][Catalyst][WIP] Additional Expression Support for Objects
## What changes were proposed in this pull request?
This PR is a work-in-progress adding additional `Expression` support for
object types. It intends to provide necessary expressions to support custom
encoders (see discussion in
[Spark-Avro](https://github.com/databricks/spark-avro/pull/217#issuecomment-342856719)).
This is an initial review, looking for feedback concerning a few questions
and guidance concerning best unit-testing practices for new `Expression`
classes in Catalyst.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bdrillard/spark spark_expressions
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20085.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #20085
----
commit b1973842c7e3fd3e5b8fb0190368c86446b29003
Author: ALeksander Eskilson <alek.eskilson@...>
Date: 2017-12-11T19:14:36Z
adding new expressions
commit 74fdb9b1079f2cf60616855278ffc27c0a380b8e
Author: ALeksander Eskilson <alek.eskilson@...>
Date: 2017-12-26T16:52:04Z
adding test case for initialize object generalization
commit 135712f9072b56cbe857c6da64a342481bf00318
Author: ALeksander Eskilson <alek.eskilson@...>
Date: 2017-12-26T17:28:05Z
fixup
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]