GitHub user XuTingjun opened a pull request:
https://github.com/apache/spark/pull/10139
[SPARK-12143]When cloumn type is binary, change to Array[Byte] instead of
string
In Beeline, execute below sql:
1. create table bb(bi binary);
2. load data inpath 'tmp/data' into table bb;
3.select * from bb;
Error: java.lang.ClassCastException: java.lang.String cannot be cast to [B
(state=, code=0)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/XuTingjun/spark patch-3
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/10139.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 #10139
----
commit 54c17e7d7a6d00f4eb1406544d0b29709c777880
Author: meiyoula <[email protected]>
Date: 2015-12-04T02:08:46Z
When cloumn type is binary, change binary to Array[Byte] instead of string
----
---
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]