-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CSV Reader] Also use figure-out-line code when ignoring errors. (#14184
) Fix: #14177
- Loading branch information
Showing
3 changed files
with
25 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
"id","description" | ||
"1","This is a test description for id 1" | ||
"2","This is a test description, | ||
This is a | ||
longer description for id 2" | ||
"3","This is a test description, | ||
This is a | ||
longer description for id 3" | ||
"4","This is a test description, | ||
This is a | ||
longer description for id 4" | ||
"5","This is a test description, | ||
This is a | ||
longer description for id 5" |
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,11 @@ | ||
# name: test/sql/copy/csv/auto/test_14177.test | ||
# description: Test CSV Sample works for #14177 | ||
# group: [auto] | ||
|
||
statement ok | ||
PRAGMA enable_verification | ||
|
||
query I | ||
select count(*) FROM (FROM read_csv('data/csv/auto/14177.csv', buffer_size=80, ignore_errors = true)) as t | ||
---- | ||
5 |