-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Replace univocity-parsers with FastCSV #4339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@marcphilipp can I take a stab? |
@vdmitrienko Go for it! 🙂 |
@marcphilipp it looks like we can't migrate to FastCSV at the moment - at least not to version FYI @osiegmar |
@vdmitrienko Thanks for taking a closer look! Agreed, let's hold off on this until we start working on 6.0 later this year. |
I suggest analyzing if any functionality is missing in FastCSV that JUnit requires. This would give me time to design and implement it, ensuring a smooth integration when JUnit 6 development begins. |
@marcphilipp, I could give it a try with the JDK17 branch. WDYT? |
Also an option: make it work with FastCSV 2.x and Jupiter 5.x on Java 8 first. |
Good idea! But be prepared that we'll force push that one again at some point.
I don't think that would be worth the effort but I leave it to @vdmitrienko to decide. |
Thanks for the suggestion, @sormuras. I initially considered that as well, but since there may be breaking changes between FastCSV 2.x and 3.x, it might be easier to start directly with 3.x. |
Do you know any library that can manage fixed-width files as easily as Univocity Parser (using only annotations, no XML)? Since all FastCSV does not handle fixed-width file |
Are you using that with |
Hum nope, finally I found BeanIO v3 which is compatible annotation only and can handle fixed-width files. The doc here : https://beanio.github.io/ |
Unfortunately, univocity-parsers is no longer maintained. While there's is a fork, it's future is unclear.
FastCSV has seen a lot of activity in recent months so we should evaluate if we use it as a replacement. There might be subtle differences how edge cases are handled but we should have good coverage for those in our test suite.
Deliverables
@CsvSource
and@CsvFileSource
using FastCSV instead of univocity-parsersThe text was updated successfully, but these errors were encountered: