should be it
This commit is contained in:
30
external/duckdb/test/sql/copy/parquet/afl.test
vendored
Normal file
30
external/duckdb/test/sql/copy/parquet/afl.test
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
# name: test/sql/copy/parquet/afl.test
|
||||
# description: Read afl-generated parquet files
|
||||
# group: [parquet]
|
||||
|
||||
mode skip
|
||||
|
||||
require parquet
|
||||
|
||||
statement ok
|
||||
PRAGMA enable_verification
|
||||
|
||||
foreach i 1 2 6
|
||||
|
||||
statement error
|
||||
select * from parquet_scan('data/parquet-testing/afl/${i}.parquet')
|
||||
----
|
||||
Invalid dictionary page header
|
||||
|
||||
endloop
|
||||
|
||||
|
||||
foreach i 3 4 5 7
|
||||
|
||||
|
||||
statement error
|
||||
select * from parquet_scan('data/parquet-testing/afl/3.parquet')
|
||||
----
|
||||
Invalid Error: Parquet file is likely corrupted, missing dictionary
|
||||
|
||||
endloop
|
||||
Reference in New Issue
Block a user