From 7ac517f401925fa544d0efc20f5cf38f91f5d8a6 Mon Sep 17 00:00:00 2001 From: Gera Shegalov Date: Tue, 24 May 2022 09:39:35 -0700 Subject: [PATCH 1/2] Make SerializedTableHeader(numRows) public to be usable in different packages of spark-rapids Signed-off-by: Gera Shegalov --- java/src/main/java/ai/rapids/cudf/JCudfSerialization.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/main/java/ai/rapids/cudf/JCudfSerialization.java b/java/src/main/java/ai/rapids/cudf/JCudfSerialization.java index b1320e839cd..92c8505991d 100644 --- a/java/src/main/java/ai/rapids/cudf/JCudfSerialization.java +++ b/java/src/main/java/ai/rapids/cudf/JCudfSerialization.java @@ -108,7 +108,7 @@ public SerializedTableHeader(DataInputStream din) throws IOException { } /** Constructor for a row-count only table (no columns) */ - SerializedTableHeader(int numRows) { + public SerializedTableHeader(int numRows) { this(new SerializedColumnHeader[0], numRows, 0); } From 1c7690a824e88d559cdda7351ba99f5973db944d Mon Sep 17 00:00:00 2001 From: Gera Shegalov Date: Tue, 24 May 2022 10:02:51 -0700 Subject: [PATCH 2/2] Update copyright per review Signed-off-by: Gera Shegalov --- java/src/main/java/ai/rapids/cudf/JCudfSerialization.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/main/java/ai/rapids/cudf/JCudfSerialization.java b/java/src/main/java/ai/rapids/cudf/JCudfSerialization.java index 92c8505991d..be3cbb66133 100644 --- a/java/src/main/java/ai/rapids/cudf/JCudfSerialization.java +++ b/java/src/main/java/ai/rapids/cudf/JCudfSerialization.java @@ -1,6 +1,6 @@ /* * - * Copyright (c) 2019-2021, NVIDIA CORPORATION. + * Copyright (c) 2019-2022, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.