Skip to content

Commit 03013d7

Browse files
committed
Update according to changes in monorepo PR
1 parent 4f4143e commit 03013d7

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

modules/ROOT/pages/errors/gql-errors/22NAC.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
= 22NAC
22

33
== Status description
4-
error: data exception - characters after quote in CSV field. Characters after an ending quote in a CSV field are not supported. See `{ <<input>>1 }` at position `{ <<pos>> }`. This is read as `{ <<input>>2 }`.
4+
error: data exception - characters after quote in CSV field. Characters after an ending quote in a CSV field are not supported. See `{ <<input>> }` at position `{ <<pos>> }`. This is read as `{ <<variable>> }`.
55

66
== Explanation
77
When a CSV file has a field that starts with a quote has content after the ending quote that file is formatted incorrectly and trying to§ read such a file with `LOAD CSV` will result in an error.
88

99
== Example scenario
1010

1111
Given that `somefile.csv` is a CSV file with the following content:
12-
`
12+
----
1313
x,y
1414
"x",1
1515
"y"y,2
16-
`
16+
----
1717
Then running the query;
1818
----
1919
LOAD CSV 'somefile.csv' AS line RETURN count(line)
@@ -22,7 +22,7 @@ LOAD CSV 'somefile.csv' AS line RETURN count(line)
2222
The following error will be thrown:
2323
[source]
2424
----
25-
error: data exception - characters after quote in CSV field. Characters after an ending quote in a CSV field are not supported. See 'somefile.csv' at position 14. This is read as 'y"y'.
25+
error: data exception - characters after quote in CSV field. Characters after an ending quote in a CSV field are not supported. See 'somefile.csv' at position 14. This is read as `y"y` .
2626
----
2727

2828
ifndef::backend-pdf[]

modules/ROOT/pages/errors/gql-errors/22NAD.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ When a CSV file has a field that starts with a quote but misses an ending quote
99
== Example scenario
1010

1111
Given that 'somefile.csv' is a CSV file with the following content:
12-
`
12+
----
1313
x,y
1414
"x",1
1515
"y,2
16-
`
16+
----
1717
Then running the query;
1818
----
1919
LOAD CSV 'somefile.csv' AS line RETURN count(line)

modules/ROOT/pages/errors/gql-errors/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ Status description:: error: data exception - mixed type list for property-based
586586

587587
=== xref:errors/gql-errors/22NAC.adoc[22NAC]
588588

589-
Status description:: error: data exception - characters after quote in CSV field. Characters after an ending quote in a CSV field are not supported. See `{ <<input>>1 }` at position `{ <<pos>> }`. This is read as `{ <<input>>2 }`.
589+
Status description:: error: data exception - characters after quote in CSV field. Characters after an ending quote in a CSV field are not supported. See `{ <<input>> }` at position `{ <<pos>> }`. This is read as `{ <<variable>> }`.
590590

591591
=== xref:errors/gql-errors/22NAD.adoc[22NAD]
592592

0 commit comments

Comments
 (0)