Damiano
05/05/2020, 2:16 PMDamiano
05/05/2020, 2:16 PMDamiano
05/05/2020, 2:18 PMMayank
Neha Pawar
Neha Pawar
Kishore G
Ranveer Singh
05/05/2020, 4:36 PMNeha Pawar
Ranveer Singh
05/05/2020, 4:38 PMNeha Pawar
Neha Pawar
Neha Pawar
Neha Pawar
Neha Pawar
Neha Pawar
EEE MON dd HH:mm:ss UTC yyyy
- i'm not sure this is following the convention correctlyNeha Pawar
EEE MMM dd HH:mm:ss Z yyyy
: https://stackoverflow.com/questions/19861642/date-format-parse-exception-eee-mmm-dd-hhmmss-z-yyyyRanveer Singh
05/05/2020, 5:02 PMRanveer Singh
05/05/2020, 5:03 PMRanveer Singh
05/05/2020, 5:21 PMNeha Pawar
"dateTimeFieldSpecs": [
{
"name": "StatusRecModifyTS",
"dataType": "STRING",
"format": "5:MINUTES:SIMPLE_DATE_FORMAT:EEE MMM dd HH:mm:ss z yyyy",
"granularity": "5:MINUTES"
},
{
"name": "StatusRecCreateTS",
"dataType": "STRING",
"format": "5:MINUTES:SIMPLE_DATE_FORMAT:EEE MMM dd HH:mm:ss z yyyy",
"granularity": "5:MINUTES"
},
{
"name": "EmailSendCreate",
"dataType": "STRING",
"format": "5:MINUTES:SIMPLE_DATE_FORMAT:EEE MMM dd HH:mm:ss z yyyy",
"granularity": "5:MINUTES"
}
]
Ranveer Singh
05/05/2020, 5:25 PMNeha Pawar
{
"name": "newTimeColumn",
"dataType": "LONG",
"format": "1:MILLISECONDS:EPOCH",
"granularity": "5:MINUTES",
"transformFunction": "fromDateTime(StatusRecModifyTS, "5:MINUTES:SIMPLE_DATE_FORMAT:EEE MMM dd HH:mm:ss z yyyy")"
}
Ranveer Singh
05/05/2020, 5:32 PMDan Hill
05/05/2020, 10:07 PMsum(value)
I get a buggy looking number.
select impressions, count(*) from events_testing group by impressions
"rows": [
[1, 1492],
[0, 169]
]
However when I get a sum, the value is very tiny.
select sum(impressions) from events_testing
"rows": [
[5.32150281E-315]
]
I looked. My data just has 0 or 1 in it. The sum converts the aggregation to a DOUBLE, which seems broken.Kishore G
Kishore G
select sum(impressions) from events_testing where impressions IN (0,1)
Dan Hill
05/05/2020, 10:16 PMNeha Pawar
Finished records indexing in IndexCreator!
Got exception to kick off standalone data ingestion job -
<http://java.io|java.io>.IOException: Input/output error
at java.nio.MappedByteBuffer.force0(Native Method) ~[?:1.8.0_232]
at java.nio.MappedByteBuffer.force(MappedByteBuffer.java:203) ~[?:1.8.0_
232]
at org.apache.pinot.core.segment.memory.PinotByteBuffer.flush(PinotByteB
uffer.java:327) ~[pinot-all-0.4.0-SNAPSHOT-jar-with-dependencies.jar:0.4.0-SNAPS
HOT-7fd2110de66c2bb0b49ee340bac492fafe1f0693]
at org.apache.pinot.core.segment.memory.PinotDataBuffer.close(PinotDataB
uffer.java:271) ~[pinot-all-0.4.0-SNAPSHOT-jar-with-dependencies.jar:0.4.0-SNAPS
HOT-7fd2110de66c2bb0b49ee340bac492fafe1f0693]
at <http://org.apache.pinot.core.io|org.apache.pinot.core.io>.util.PinotDataBitSet.close(PinotDataBitSet.j
ava:247) ~[pinot-all-0.4.0-SNAPSHOT-jar-with-dependencies.jar:0.4.0-SNAPSHOT-7fd
2110de66c2bb0b49ee340bac492fafe1f0693]
at <http://org.apache.pinot.core.io|org.apache.pinot.core.io>.util.FixedBitIntReaderWriter.close(FixedBitI
ntReaderWriter.java:67) ~[pinot-all-0.4.0-SNAPSHOT-jar-with-dependencies.jar:0.4
.0-SNAPSHOT-7fd2110de66c2bb0b49ee340bac492fafe1f0693]
at <http://org.apache.pinot.core.io|org.apache.pinot.core.io>.writer.impl.v1.FixedBitSingleValueWriter.clo
se(FixedBitSingleValueWriter.java:45) ~[pinot-all-0.4.0-SNAPSHOT-jar-with-depend
encies.jar:0.4.0-SNAPSHOT-7fd2110de66c2bb0b49ee340bac492fafe1f0693]
at org.apache.pinot.core.segment.creator.impl.fwd.SingleValueUnsortedFor
wardIndexCreator.close(SingleValueUnsortedForwardIndexCreator.java:47) ~[pinot-a
ll-0.4.0-SNAPSHOT-jar-with-dependencies.jar:0.4.0-SNAPSHOT-7fd2110de66c2bb0b49ee
340bac492fafe1f0693]
at org.apache.pinot.common.utils.FileUtils.close(FileUtils.java:95) ~[pi
not-all-0.4.0-SNAPSHOT-jar-with-dependencies.jar:0.4.0-SNAPSHOT-7fd2110de66c2bb0
b49ee340bac492fafe1f0693]
at org.apache.pinot.core.segment.creator.impl.SegmentColumnarIndexCreato
r.close(SegmentColumnarIndexCreator.java:577) ~[pinot-all-0.4.0-SNAPSHOT-jar-wit
h-dependencies.jar:0.4.0-SNAPSHOT-7fd2110de66c2bb0b49ee340bac492fafe1f0693]
at org.apache.pinot.core.segment.creator.impl.SegmentIndexCreationDriver
Impl.handlePostCreation(SegmentIndexCreationDriverImpl.java:223) ~[pinot-all-0.4
.0-SNAPSHOT-jar-with-dependencies.jar:0.4.0-SNAPSHOT-7fd2110de66c2bb0b49ee340bac
492fafe1f0693]
Neha Pawar