You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by lc...@apache.org on 2022/10/17 20:45:03 UTC

[beam] branch master updated: Suppress a FloatingPointLiteralPrecision error (#23667)

This is an automated email from the ASF dual-hosted git repository.

lcwik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new a6e25ae421c Suppress a FloatingPointLiteralPrecision error (#23667)
a6e25ae421c is described below

commit a6e25ae421ccd9c85e4fbc69c6ddcd686e22495b
Author: Liam Miller-Cushon <cu...@google.com>
AuthorDate: Mon Oct 17 13:44:57 2022 -0700

    Suppress a FloatingPointLiteralPrecision error (#23667)
    
    * Suppress a FloatingPointLiteralPrecision error
    
    * Update sdks/java/io/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/bigquery/TableRowToStorageApiProtoIT.java
    
    Co-authored-by: Lukasz Cwik <lc...@google.com>
---
 .../apache/beam/sdk/io/gcp/bigquery/TableRowToStorageApiProtoIT.java   | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sdks/java/io/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/bigquery/TableRowToStorageApiProtoIT.java b/sdks/java/io/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/bigquery/TableRowToStorageApiProtoIT.java
index ce0d267f406..b2d9e04ffe2 100644
--- a/sdks/java/io/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/bigquery/TableRowToStorageApiProtoIT.java
+++ b/sdks/java/io/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/bigquery/TableRowToStorageApiProtoIT.java
@@ -169,6 +169,9 @@ public class TableRowToStorageApiProtoIT {
           .set("bigNumericValue", "23334.4")
           .set("arrayValue", REPEATED_BYTES);
 
+  @SuppressWarnings({
+    "FloatingPointLiteralPrecision" // https://github.com/apache/beam/issues/23666
+  })
   private static final TableRow BASE_TABLE_ROW_FLOATS =
       new TableRow()
           .set("stringValue", "string")