phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carter Shanklin (JIRA)" <>
Subject [jira] [Created] (PHOENIX-1277) CSVCommonsLoader not allowing null CHAR values (non PK)
Date Tue, 23 Sep 2014 00:28:34 GMT
Carter Shanklin created PHOENIX-1277:

             Summary: CSVCommonsLoader not allowing null CHAR values (non PK)
                 Key: PHOENIX-1277
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 5.0.0
            Reporter: Carter Shanklin
            Priority: Minor

With this simple table:

create table dummy ( x integer primary key, y char(10) );

And dataset
$ cat DummyValues.csv

And running I get this:
{code} -t DUMMY      localhost:2181:/hbase-unsecure DummyValues.csv
14/09/22 16:31:02 ERROR util.CSVCommonsLoader: Error upserting record [2, ]: CHAR may not
be null
CSV Upsert complete. 2 rows upserted
Time: 0.052 sec(s)

In sqlline I can insert nulls just fine into column y.

Didn't check to see if this affects other types, e.g. varchar.

This message was sent by Atlassian JIRA

View raw message