You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/10/17 15:29:41 UTC

[GitHub] [beam] cushon opened a new issue, #23666: [Bug]: FloatingPointLiteralPrecision error in TableRowToStorageApiProtoIT

cushon opened a new issue, #23666:
URL: https://github.com/apache/beam/issues/23666

   ### What happened?
   
   When compiling with JDK versions that include the fix for [JDK-4511638: Double.toString(double) sometimes produces incorrect results](https://bugs.openjdk.org/browse/JDK-4511638), I'm seeing this build error in `TableRowToStorageApiProtoIT.java`
   
   ```
   sdks/java/io/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/bigquery/TableRowToStorageApiProtoIT.java:184: warning: [FloatingPointLiteralPrecision] Floating point literal loses precision
             .set("datetimeValue", 142111881387172416D)
                                   ^
       (see https://errorprone.info/bugpattern/FloatingPointLiteralPrecision)
     Did you mean '.set("datetimeValue", 1.4211188138717242E+17)'?
   error: warnings found and -Werror specified
   ```
   
   ### Issue Priority
   
   Priority: 3
   
   ### Issue Component
   
   Component: sdk-java-core


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] lukecwik closed issue #23666: [Bug]: FloatingPointLiteralPrecision error in TableRowToStorageApiProtoIT

Posted by GitBox <gi...@apache.org>.
lukecwik closed issue #23666: [Bug]: FloatingPointLiteralPrecision error in TableRowToStorageApiProtoIT
URL: https://github.com/apache/beam/issues/23666


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org