forked from duckdb/duckdb-excel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
require excel | ||
|
||
statement error | ||
COPY (SELECT * FROM range(5000)) | ||
TO '__TEST_DIR__/test_limit.xlsx' (FORMAT 'XLSX', sheet_row_limit 2049); | ||
---- | ||
Invalid Input Error: XLSX: Sheet row limit of '2049' rows exceeded! | ||
|
||
statement ok | ||
COPY (SELECT * FROM range(1000)) | ||
TO '__TEST_DIR__/test_limit.xlsx' (FORMAT 'XLSX', sheet_row_limit 2049); | ||
|
||
statement error | ||
COPY (SELECT * FROM range(1048577)) | ||
TO '__TEST_DIR__/test_limit.xlsx' (FORMAT 'XLSX', sheet_name 'test'); | ||
---- | ||
Invalid Input Error: XLSX: Sheet row limit of '1048576' rows exceeded! | ||
* XLSX files and compatible applications generally have a limit of '1048576' rows | ||
* You can export larger sheets on your own risk by setting the 'sheet_row_limit' parameter to a higher value |