You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "xiepengjie (Jira)" <ji...@apache.org> on 2020/07/06 08:56:00 UTC
[jira] [Updated] (SPARK-32192) Print column name when throws
ClassCastException
[ https://issues.apache.org/jira/browse/SPARK-32192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
xiepengjie updated SPARK-32192:
-------------------------------
Description:
We have a demo like this:
{code:java}
drop table if exists cast_exception_test;
create table cast_exception_test(c1 int, c2 string) partitioned by (dt string) stored as orc;
insert into table cast_exception_test partition(dt='2020-04-08') values('1', 'jeff_1');
{code}
now we query this table
> Print column name when throws ClassCastException
> ------------------------------------------------
>
> Key: SPARK-32192
> URL: https://issues.apache.org/jira/browse/SPARK-32192
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.4.3, 3.0.0
> Reporter: xiepengjie
> Priority: Minor
> Fix For: 2.4.3
>
>
> We have a demo like this:
> {code:java}
> drop table if exists cast_exception_test;
> create table cast_exception_test(c1 int, c2 string) partitioned by (dt string) stored as orc;
> insert into table cast_exception_test partition(dt='2020-04-08') values('1', 'jeff_1');
> {code}
> now we query this table
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org