[ 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 partition no problem, but if we change the type of partition's field, was: 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 partition no problem, but if we change the type of > partition's field, -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org