question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ignore quotes in for column

See original GitHub issue

@totalColumns 20 @separator ‘|’ @noHeader

above is my directives, I am running into a problem with some of my columns that have quotes in them. I have tried the character literal for the separator directive http://digital-preservation.github.io/csv-schema/csv-schema-1.1.html#dfn-ebnf-character-literal

doesn’t seem to like it.

[3.12] failure: '' expected but "’ found

@separator “'” [|^\r\n\f’] “'”

Can anyone suggest?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:21

github_iconTop GitHub Comments

1reaction
DavidUnderdowncommented, Aug 31, 2018

As explained above, you need to escape your quote marks by preceding them with \ - typically quotemarks simply around a field will be ignored by CSV processors - they just confirm that the field contents is text, and that any commas in text between quotes should not be treated as a field separator.

0reactions
DavidUnderdowncommented, Feb 9, 2022

Closing this old call as original poster was happy following discussion

Read more comments on GitHub >

github_iconTop Results From Across the Web

Single Quote, Double Quote, and Backticks in MySQL Queries
Inserting two double quotes in the middle of the string will cancel out one of them. Single Quotes. Using single quotes here is...
Read more >
Escape Quotes in Custom Column Formula - Excel Power ...
Hi, I've got a custom column formula checking the value of a column. The value I'm looking for is a text value that...
Read more >
Pyspark How to Ignore Double quotes from the data present in ...
I am having " (single quotes) in my data ,all the corresponding column values clubbed into one column even though I have used...
Read more >
Disable using quotation marks around table and column ...
By design, the database table names and the column names are delimited and they are with quotation marks even if they are not...
Read more >
How to ignore delimiters in last column without using escape ...
We cannot use double quotes, because, double quotes can also be coming in the data of the last column, and the same with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found