diff options
author | Wenchen Fan <wenchen@databricks.com> | 2016-06-13 22:02:23 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-06-13 22:02:23 -0700 |
commit | 688b6ef9dc0943d268fab7279ef50bfac1617f04 (patch) | |
tree | afe3fe43b05a6a305ef8afed6296328fec5de1a7 /python | |
parent | 1842cdd4ee9f30b0a5f579e26ff5194e81e3634c (diff) | |
download | spark-688b6ef9dc0943d268fab7279ef50bfac1617f04.tar.gz spark-688b6ef9dc0943d268fab7279ef50bfac1617f04.tar.bz2 spark-688b6ef9dc0943d268fab7279ef50bfac1617f04.zip |
[SPARK-15932][SQL][DOC] document the contract of encoder serializer expressions
## What changes were proposed in this pull request?
In our encoder framework, we imply that serializer expressions should use `BoundReference` to refer to the input object, and a lot of codes depend on this contract(e.g. ExpressionEncoder.tuple). This PR adds some document and assert in `ExpressionEncoder` to make it clearer.
## How was this patch tested?
existing tests
Author: Wenchen Fan <wenchen@databricks.com>
Closes #13648 from cloud-fan/comment.
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions