osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (ARROW-3989) [RUST] CSV Reader Should Handle Case Sensitivity for Boolean Values


nevi_me created ARROW-3989:
------------------------------

             Summary: [RUST] CSV Reader Should Handle Case Sensitivity for Boolean Values
                 Key: ARROW-3989
                 URL: https://issues.apache.org/jira/browse/ARROW-3989
             Project: Apache Arrow
          Issue Type: New Feature
          Components: Rust
    Affects Versions: 0.11.1
            Reporter: nevi_me


Excel saves booleans in CSV in upper case, Pandas uses Proper case.

Our CSV reader doesn't recognise (True, False, TRUE, FALSE). I noticed this when making boolean schema inference case insensitive.

 

I would propose that we convert Boolean strings to lower-case before casting them to Rust's bool type. [~andygrove], what do you think?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)