RonnieColeman
V2EX  ›  InfluxDB

influxDB 用 DISTINCT 查询返回的结果中时间为空,有什么办法能在查询结果中返回正确的时间吗?

  •  
  •   RonnieColeman · Nov 27, 2020 · 2777 views
    This topic created in 2006 days ago, the information mentioned may be changed or developed.

    如上图。在官方文档中没找到解决办法,但找到了这句话:

    说明:在 InfluxDB 中,epoch 0(1970-01-01T00:00:00Z)通常用作等效的空时间戳。如果要求查询不返回时间戳,例如无限时间范围的聚合函数,InfluxDB 将返回 epoch 0 作为时间戳。
    
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4176 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 00:06 · PVG 08:06 · LAX 17:06 · JFK 20:06
    ♥ Do have faith in what you're doing.