diff options
author | Sameer Agarwal <sameer@databricks.com> | 2016-06-02 10:58:00 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-06-02 10:58:00 -0700 |
commit | 09b3c56c91831b3e8d909521b8f3ffbce4eb0395 (patch) | |
tree | afa9b5044409b49bf03c86bac7b2832311b26691 /sql/hive | |
parent | 7c07d176f3d65235f9376898a7b10b01268c867c (diff) | |
download | spark-09b3c56c91831b3e8d909521b8f3ffbce4eb0395.tar.gz spark-09b3c56c91831b3e8d909521b8f3ffbce4eb0395.tar.bz2 spark-09b3c56c91831b3e8d909521b8f3ffbce4eb0395.zip |
[SPARK-14752][SQL] Explicitly implement KryoSerialization for LazilyGenerateOrdering
## What changes were proposed in this pull request?
This patch fixes a number of `com.esotericsoftware.kryo.KryoException: java.lang.NullPointerException` exceptions reported in [SPARK-15604], [SPARK-14752] etc. (while executing sparkSQL queries with the kryo serializer) by explicitly implementing `KryoSerialization` for `LazilyGenerateOrdering`.
## How was this patch tested?
1. Modified `OrderingSuite` so that all tests in the suite also test kryo serialization (for both interpreted and generated ordering).
2. Manually verified TPC-DS q1.
Author: Sameer Agarwal <sameer@databricks.com>
Closes #13466 from sameeragarwal/kryo.
Diffstat (limited to 'sql/hive')
0 files changed, 0 insertions, 0 deletions