Asura7969 commented on code in PR #8565: URL: https://github.com/apache/arrow-datafusion/pull/8565#discussion_r1433336655
########## datafusion/sqllogictest/test_files/csv_files.slt: ########## @@ -63,3 +63,60 @@ id6 value"6 id7 value"7 id8 value"8 id9 value"9 + + +# When reading a partitioned table, the `listing_table_ignore_subdirectory` configuration will be invalid +statement ok +set datafusion.execution.listing_table_ignore_subdirectory = false; + +statement ok +CREATE EXTERNAL TABLE partition_csv_table ( + name VARCHAR, + ts TIMESTAMP, + c_date DATE, +) +STORED AS CSV +PARTITIONED BY (c_date) +LOCATION '../core/tests/data/partitioned_table'; + +query I +select count(*) from partition_csv_table; +---- +4 + +statement ok +DROP TABLE partition_csv_table + +statement ok +set datafusion.execution.listing_table_ignore_subdirectory = true; Review Comment: When reading a partitioned table, listing_table_ignore_subdirectory is always equal to false, even if set to true -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
