[ https://issues.apache.org/jira/browse/PHOENIX-2434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gabriel Reid updated PHOENIX-2434: ---------------------------------- Attachment: PHOENIX-2434-rebased.patch Rebased patch on master, will commit shortly unless there are any objections. > CSV loader: fail on invalid booleans > ------------------------------------ > > Key: PHOENIX-2434 > URL: https://issues.apache.org/jira/browse/PHOENIX-2434 > Project: Phoenix > Issue Type: Improvement > Reporter: Bruno Dumon > Attachments: PHOENIX-2434-rebased.patch, PHOENIX-2434.patch > > > Currently the CSV loader parses boolean values using Boolean.parseBoolean(), > indirectly via PBoolean.toObject(String). This recognizes the string "true" > (ignoring case) as true, anything else is false. > This is not very friendly to the user, who might for example think that '1' > is true and '0' is false. It would be better to fail on invalid input, just > like is the case for invalid numbers or invalid dates. -- This message was sent by Atlassian JIRA (v6.3.4#6332)