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.

CsvSource parser configuration

See original GitHub issue

Issue Description

While reading CsvSource files, I get Array out of Bounds error on rows with data longer than the default column width set to 4096:

com.univocity.parsers.common.TextParsingException: Length of parsed input (4097) exceeds the maximum number of characters defined in your parser settings (4096). 
Hint: Number of characters processed may have exceeded limit of 4096 characters per column. Use settings.setMaxCharsPerColumn(int) to define the maximum number of characters a column can have

How can the csv parser configuration be changed to allow for longer column widths?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
sksamuelcommented, Oct 6, 2017

I wrote eel initially for use at Barclays and then Deutsche Bank. So it’s nice to hear of other users outside of those two banks. We might call you up for help 😃

1reaction
osamakhncommented, Oct 6, 2017

Let me know if there are issues/docs with help wanted; I am using eel-parquet inside an AWS Lambda container w/ Scala ofc 😉 and it works so well!

Read more comments on GitHub >

github_iconTop Results From Across the Web

how to change csvparsersettings of junit parameterized tests ...
Given a simple test-method, annotated as @ParameterizedTest , employing input via Annotation @CsvSource ...
Read more >
Make emptyValue configurable in @CsvSource and ... - GitHub
During the development, I found out that emptyValue in settings another meaning had to the issue I wanted to address. In CsvParserSettings ......
Read more >
Parameterize like a pro with JUnit 5 @CsvSource
Parameterized tests are definitely my favorite feature of JUnit 5. Defining multiple sets of arguments for the same test can significantly ...
Read more >
JUnit 5 - Parameterized Tests - nipafx.dev
Thorough introduction to parameterized tests in JUnit 5 with @ParameterizedTest, argument sources (eg @MethodSource, @CsvSource), ...
Read more >
Junit 5 Parameterized Tests with examples - Java Tutorials
Junit 5 Parameterized tests make it possible to run a test multiple times with different arguments. Use the JUnit5 @ParameterizedTest ...
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