Re: Date parsing error, or user error.

2015-05-26 Thread Nick Dimiduk
Ah! Thanks Gabriel. On Tue, May 26, 2015 at 1:09 PM, Gabriel Reid wrote: > It works in the integration test because the date format is specifically > set (as an extra bit of testing) > > > https://github.com/apache/phoenix/blob/master/phoenix-core/src/it/java/org/apache/phoenix/mapreduce/CsvBulk

Re: Date parsing error, or user error.

2015-05-26 Thread Gabriel Reid
It works in the integration test because the date format is specifically set (as an extra bit of testing) https://github.com/apache/phoenix/blob/master/phoenix-core/src/it/java/org/apache/phoenix/mapreduce/CsvBulkLoadToolIT.java#L105 On Tue, May 26, 2015 at 9:33 PM Nick Dimiduk wrote: > This i

Re: Date parsing error, or user error.

2015-05-26 Thread Nick Dimiduk
This is working for me as expected, thanks Gabriel. I find it odd that we don't have an issue in our IT test though printWriter.println("1,Name 1,1970/01/01"); printWriter.println("2,Name 2,1970/01/02"); https://github.com/apache/phoenix/blob/master/phoenix-core/src/it/java/org/ap

Re: Date parsing error, or user error.

2015-05-16 Thread Gabriel Reid
Hi Nick, The date format is (if I'm not mistaken) ISO-8601, so I think you'll have to format your date values as 1970-01-01. - Gabriel On Fri, May 15, 2015 at 02:02 Nick Dimiduk wrote: > Heya, > > Giving the RC a spin, and also investigating the impact of HBASE-13604, I'm > having a spot of tr

Date parsing error, or user error.

2015-05-14 Thread Nick Dimiduk
Heya, Giving the RC a spin, and also investigating the impact of HBASE-13604, I'm having a spot of trouble with bulk load. I'm executing CsvBulkLoadToolIT manually. Seems like date string parsing is not working, but I may well be doing something wrong. Thanks. $ cat /tmp/input1.csv 1,Name 1,1970