-
Notifications
You must be signed in to change notification settings - Fork 88
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
Improve line parser #294
base: main
Are you sure you want to change the base?
Improve line parser #294
Conversation
I like this idea for improving performance, we have an issue where we need to lint very large CSVs and the current code can be slow to do so. What work is left to do on this PR -- or was it abandoned for some reason. I might try to pick it up if there is a clear path forward. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The project is using Github Action.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Github Action has a matrix for compatibility that test many Ruby version and ActiveSupport.
FastCSV should be added to the gemspec that is the equivalent to a Gemfile for a library.
All changes in this file should be reverted.
@@ -170,7 +163,7 @@ | |||
expect(validator.valid?).to eql(true) | |||
end | |||
|
|||
it "checks for non rfc line breaks" do | |||
xit "checks for non rfc line breaks" do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Obviously, disabling tests is not the way to go.
expect(validator.warnings.size).to eql(1) | ||
expect(validator.warnings.first.type).to eql(:duplicate_column_name) | ||
expect(validator.warnings.first.category).to eql(:schema) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Obviously, removing tests is not the way to go either.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some work are required for a review.
This PR fixes #
Changes proposed in this pull request: