iotdb-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [incubator-iotdb] jixuan1989 opened a new pull request #1150: [IOTDB-636]Grafana connector does not use correct time unit
Date Sat, 02 May 2020 14:36:41 GMT

jixuan1989 opened a new pull request #1150:

   On rel/0.9, the grafana connector uses the time unit like this:
   public BasicDaoImpl(JdbcTemplate jdbcTemplate) {
     this.jdbcTemplate = jdbcTemplate;
     Properties properties = new Properties();
     String tsPrecision = properties.getProperty("timestamp_precision", "ms");
     switch (tsPrecision) {
       case "us":
         TIMESTAMP_RADIX = 1000;
       case "ns":
         TIMESTAMP_RADIX = 1000_000;
         TIMESTAMP_RADIX = 1;
     }"Use timestamp precision {}", tsPrecision);
   That is to say, it always is "ms"! No configuration file is read!

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

View raw message