Re: Timestamp, Epoch Time, Functions and other Frustrations

2013-01-04 Thread Brad Cavanagh
Try multiplying your values by 1000, then running the conversions. I bet they expect milliseconds since the epoch instead of seconds. Brad. On 2013-01-04, at 8:03 AM, John Omernik j...@omernik.com wrote: Greetings all. I am getting frustrated with the documentation and lack of

collect_set() with non-primitive types

2012-11-28 Thread Brad Cavanagh
I have a table defined as: CREATE TABLE foo ( id INT, start_time STRING, name STRING, value STRING, type STRING ) The 'name', 'value' and 'type' fields actually describe another object, and I'd like to turn these into STRUCTs, something like: CREATE TABLE bar ( id INT, start_time