德鲁伊数据存储中时间戳字段的精度是多少?
What is the precision of the timestamp field in a druid datastore?
德鲁伊条目有时间戳、维度和指标。
已提取条目 (CSV) 的示例(来自网站):
2013-08-31T01:02:33Z,"f7ehv","AHX","true",57,200,-143
我有一堆由单个节点快速连续读取的读数。它以纳秒精度记录数据。我的问题是,“德鲁伊能否处理时间戳的纳秒精度?”。
这些不必实时处理,可以平衡摄取到数据库中w.r.t。服务器上的负载。查询将不是问题。
关于时间戳,我希望 link 到 specification/documentation。
我查看了 documentation,但找不到与此问题相关的任何内容。
Druid 以毫秒精度摄取时间戳。这不是很清楚,但你可以从他们的 Ingestion Spec 文档和 Granularity 文档中推断出来:
timestamp format: iso, millis, posix, auto or any Joda time format
http://druid.io/docs/latest/ingestion/#timestampspec
query granularity: minimum here is none which means millisecond granularity
http://druid.io/docs/latest/querying/granularities.html
我还在 Google 组中找到了这个 link:
https://groups.google.com/forum/#!topic/druid-user/2oAq41dCGbg
希望对您有所帮助!
德鲁伊条目有时间戳、维度和指标。
已提取条目 (CSV) 的示例(来自网站):
2013-08-31T01:02:33Z,"f7ehv","AHX","true",57,200,-143
我有一堆由单个节点快速连续读取的读数。它以纳秒精度记录数据。我的问题是,“德鲁伊能否处理时间戳的纳秒精度?”。
这些不必实时处理,可以平衡摄取到数据库中w.r.t。服务器上的负载。查询将不是问题。
关于时间戳,我希望 link 到 specification/documentation。 我查看了 documentation,但找不到与此问题相关的任何内容。
Druid 以毫秒精度摄取时间戳。这不是很清楚,但你可以从他们的 Ingestion Spec 文档和 Granularity 文档中推断出来:
timestamp format: iso, millis, posix, auto or any Joda time format
http://druid.io/docs/latest/ingestion/#timestampspec
query granularity: minimum here is none which means millisecond granularity
http://druid.io/docs/latest/querying/granularities.html
我还在 Google 组中找到了这个 link:
https://groups.google.com/forum/#!topic/druid-user/2oAq41dCGbg
希望对您有所帮助!