Skip to content
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

allow to read non-standard CSV #326

Merged
merged 5 commits into from
May 25, 2021
Merged

allow to read non-standard CSV #326

merged 5 commits into from
May 25, 2021

Commits on May 19, 2021

  1. refactor Reader::from_reader

    split into build_csv_reader, from_csv_reader
    add escape, quote, terminator arg to build_csv_reader
    kazuk committed May 19, 2021
    Configuration menu
    Copy the full SHA
    0851405 View commit details
    Browse the repository at this point in the history
  2. add escape,quote,terminator field to ReaderBuilder

    schema inference support for non-standard CSV
    
      add fn infer_file_schema_with_csv_options
      add fn infer_reader_schema_with_csv_options
    
    ReaderBuilder support for non-standard CSV
    
    add escape, quote, terminator field
    add fn with_escape, with_quote, with_terminator
    change ReaderBuilder::build for non-standard CSV
    kazuk committed May 19, 2021
    Configuration menu
    Copy the full SHA
    1d154c9 View commit details
    Browse the repository at this point in the history
  3. minimize API change

    kazuk committed May 19, 2021
    Configuration menu
    Copy the full SHA
    4bf2e0c View commit details
    Browse the repository at this point in the history

Commits on May 24, 2021

  1. add tests

    add #[test] fn test_non_std_quote
    add #[test] fn test_non_std_escape
    add #[test] fn test_non_std_terminator
    kazuk committed May 24, 2021
    Configuration menu
    Copy the full SHA
    d37a357 View commit details
    Browse the repository at this point in the history
  2. apply cargo fmt

    kazuk committed May 24, 2021
    Configuration menu
    Copy the full SHA
    c278b83 View commit details
    Browse the repository at this point in the history