diff options
author | Wenchen Fan <wenchen@databricks.com> | 2016-02-05 14:34:12 -0800 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2016-02-05 14:34:12 -0800 |
commit | 1ed354a5362967d904e9513e5a1618676c9c67a6 (patch) | |
tree | 828e56deb20497023c4ec28d6a692853202c00d8 /docs | |
parent | 7b73f1719cff233645c7850a5dbc8ed2dc9c9a58 (diff) | |
download | spark-1ed354a5362967d904e9513e5a1618676c9c67a6.tar.gz spark-1ed354a5362967d904e9513e5a1618676c9c67a6.tar.bz2 spark-1ed354a5362967d904e9513e5a1618676c9c67a6.zip |
[SPARK-12939][SQL] migrate encoder resolution logic to Analyzer
https://issues.apache.org/jira/browse/SPARK-12939
Now we will catch `ObjectOperator` in `Analyzer` and resolve the `fromRowExpression/deserializer` inside it. Also update the `MapGroups` and `CoGroup` to pass in `dataAttributes`, so that we can correctly resolve value deserializer(the `child.output` contains both groupking key and values, which may mess things up if they have same-name attribtues). End-to-end tests are added.
follow-ups:
* remove encoders from typed aggregate expression.
* completely remove resolve/bind in `ExpressionEncoder`
Author: Wenchen Fan <wenchen@databricks.com>
Closes #10852 from cloud-fan/bug.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions