GitHub user liancheng opened a pull request:
https://github.com/apache/spark/pull/3059
[SPARK-4182][SQL] Fixes ColumnStats classes for boolean, binary and complex
data types
`NoopColumnStats` was once used for binary, boolean and complex data types.
This `ColumnStats` doesn't return properly shaped column statistics and causes
caching failure if a table contains columns of the aforementioned types.
This PR adds `BooleanColumnStats`, `BinaryColumnStats` and
`GenericColumnStats`, used for boolean, binary and all complex data types
respectively. In addition, `NoopColumnStats` returns properly shaped column
statistics containing null count and row count, but this class is now used for
testing purpose only.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/liancheng/spark spark-4182
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/3059.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 #3059
----
commit 38cf5b57731bdb304d761a82f3d033efd2dcbd6c
Author: Cheng Lian <[email protected]>
Date: 2014-11-02T03:25:32Z
Fixes SPARK-4182
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]