Open ludlows opened 3 weeks ago
1.6.1 (latest release)
Spark
given an iceberg table created by the following sql:
CREATE TABLE icbtest.test0( `pk_id` int, val string, start_dt string, end_dt string ) USING iceberg partitioned by (truncate(6, end_dt)) ;
after that, we run the rewriteDataFiles procedure by the sql:
rewriteDataFiles
set spark.sql.caseSensitive=false; call my_catalog.system.rewrite_data_files(table=>'icbtest.test0', where => " END_DT > '202008' ");
the following exception is raised
since the where sql is always case sensitive, and set spark.sql.caseSensitive=false does not take effects.
where
set spark.sql.caseSensitive=false
Apache Iceberg version
1.6.1 (latest release)
Query engine
Spark
Please describe the bug 🐞
given an iceberg table created by the following sql:
after that, we run the
rewriteDataFiles
procedure by the sql:the following exception is raised
since the
where
sql is always case sensitive, andset spark.sql.caseSensitive=false
does not take effects.Willingness to contribute