Trying to load csv with boolean column that has entries like this 1,10044.71556451,True
When using LOAD command I get the error SQL27924W The value in row and column 3 could not be converted to a Boolean value, and the target column is not nullable, so the row was not loaded. But when I try to INSERT it manually, it is inserted as expected. Why isn't the LOAD command working in this case?
The LOAD command that gives errors
LOAD FROM '/csvs/loans.csv' OF DEL MODIFIED BY NOHEADER ANYORDER INSERT INTO loans
The INSERT command that works
INSERT INTO loans (loan_id, amount, accepted) VALUES (1,10044.71556451,True)