From 38bea19974401f95f75c10958cc847d37f7a3873 Mon Sep 17 00:00:00 2001 From: Yefim Matskin Date: Sun, 7 Jan 2024 14:54:24 +0200 Subject: [PATCH] compatibility updates --- pom.xml | 1 + .../teleport/bigtable/BigtableToParquetLastVerOnly.java | 6 +++--- .../cloud/teleport/bigtable/BigtableToParquetNoSort.java | 6 +++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index fbb79c3e48..90c4bb17f1 100644 --- a/pom.xml +++ b/pom.xml @@ -253,6 +253,7 @@ spotless-maven-plugin ${spotless-maven-plugin.version} + true diff --git a/v1/src/main/java/com/google/cloud/teleport/bigtable/BigtableToParquetLastVerOnly.java b/v1/src/main/java/com/google/cloud/teleport/bigtable/BigtableToParquetLastVerOnly.java index 66547cb5e9..2c956c6817 100644 --- a/v1/src/main/java/com/google/cloud/teleport/bigtable/BigtableToParquetLastVerOnly.java +++ b/v1/src/main/java/com/google/cloud/teleport/bigtable/BigtableToParquetLastVerOnly.java @@ -1,11 +1,11 @@ /* - * Copyright (C) 2019 Google Inc. + * Copyright (C) 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT @@ -21,7 +21,7 @@ import org.apache.beam.runners.dataflow.options.DataflowPipelineOptions; import org.apache.beam.sdk.Pipeline; import org.apache.beam.sdk.PipelineResult; -import org.apache.beam.sdk.coders.AvroCoder; +import org.apache.beam.sdk.extensions.avro.coders.AvroCoder; import org.apache.beam.sdk.io.FileIO; import org.apache.beam.sdk.io.gcp.bigtable.BigtableIO; import org.apache.beam.sdk.io.parquet.ParquetIO; diff --git a/v1/src/main/java/com/google/cloud/teleport/bigtable/BigtableToParquetNoSort.java b/v1/src/main/java/com/google/cloud/teleport/bigtable/BigtableToParquetNoSort.java index 2cba06b478..ef2d120d2f 100644 --- a/v1/src/main/java/com/google/cloud/teleport/bigtable/BigtableToParquetNoSort.java +++ b/v1/src/main/java/com/google/cloud/teleport/bigtable/BigtableToParquetNoSort.java @@ -1,11 +1,11 @@ /* - * Copyright (C) 2019 Google Inc. + * Copyright (C) 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT @@ -20,7 +20,7 @@ import org.apache.beam.runners.dataflow.options.DataflowPipelineOptions; import org.apache.beam.sdk.Pipeline; import org.apache.beam.sdk.PipelineResult; -import org.apache.beam.sdk.coders.AvroCoder; +import org.apache.beam.sdk.extensions.avro.coders.AvroCoder; import org.apache.beam.sdk.io.FileIO; import org.apache.beam.sdk.io.gcp.bigtable.BigtableIO; import org.apache.beam.sdk.io.parquet.ParquetIO;