kamilwu commented on a change in pull request #12102:
URL: https://github.com/apache/beam/pull/12102#discussion_r446168652



##########
File path: 
sdks/java/testing/nexmark/src/main/java/org/apache/beam/sdk/nexmark/Main.java
##########
@@ -255,7 +255,9 @@ private static String produceMeasurement(
     schemaResults.put("timestamp", timestamp);
     schemaResults.put("runner", runner);
     schemaResults.put("measurement", measurement);
-    schemaResults.put("runtimeMs", runtimeMs);
+    schemaResults.put(
+        "runtimeMs",
+        runtimeMs + "i"); // we need to add 'i' suffix since influx default 
type is float

Review comment:
       What about something like this?
   `
   By default, InfluxDB treats all values as floats. We need to add 'i' suffix 
to interpret the value as an integer.
   `




----------------------------------------------------------------
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:
[email protected]


Reply via email to