Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.2.0
-
None
Description
Format of results for Druid Timeseries queries is as follows:
[ { "timestamp": "2012-01-01T00:00:00.000Z", "result": { "sample_name1": 0, "sample_name2": 1.0, "sample_divide": 2.2222 } }, { "timestamp": "2012-01-02T00:00:00.000Z", "result": { "sample_name1": 2, "sample_name2": 3.32, "sample_divide": 4 } } ]
Out of this query results, we will generate Hive records with the following format:
[ new TimestampWritable(new Timestamp(1325376000000L)), new LongWritable(0), new FloatWritable(1.0F), new FloatWritable(2.2222F) ] [ new TimestampWritable(new Timestamp(1325462400000L)), new LongWritable(2), new FloatWritable(3.32F), new FloatWritable(4F)]
Attachments
Issue Links
- is part of
-
HIVE-14217 Druid integration
- Closed