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

Cherry pick allow to read non-standard CSV to active_release #407

Merged
merged 1 commit into from
Jun 5, 2021

Commits on Jun 4, 2021

  1. allow to read non-standard CSV (#326)

    * refactor Reader::from_reader
    
    split into build_csv_reader, from_csv_reader
    add escape, quote, terminator arg to build_csv_reader
    
    * 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
    
    * minimize API change
    
    * add tests
    
    add #[test] fn test_non_std_quote
    add #[test] fn test_non_std_escape
    add #[test] fn test_non_std_terminator
    
    * apply cargo fmt
    kazuk authored and alamb committed Jun 4, 2021
    Configuration menu
    Copy the full SHA
    5168537 View commit details
    Browse the repository at this point in the history