[ https://issues.apache.org/jira/browse/SPARK-33876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan reassigned SPARK-33876: ----------------------------------- Assignee: Kent Yao > Add length-check for reading char/varchar from tables w/ a external location > ---------------------------------------------------------------------------- > > Key: SPARK-33876 > URL: https://issues.apache.org/jira/browse/SPARK-33876 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 3.1.0 > Reporter: Kent Yao > Assignee: Kent Yao > Priority: Major > > spark-sql> INSERT INTO t2 VALUES ('1', 'b12345'); > Time taken: 0.141 seconds > spark-sql> alter table t set location '/tmp/hive_one/t2'; > Time taken: 0.095 seconds > spark-sql> select * from t; > 1 b1234 > 1 a > 1 b > the above case should fail rather than implicitly applying truncation -- 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