From ca770319074c7521db8e280cfe82575317eed97d Mon Sep 17 00:00:00 2001 From: Jason Lowe Date: Mon, 26 Apr 2021 09:54:32 -0500 Subject: [PATCH] Add spark312 and spar320 versions of cache serializer Signed-off-by: Jason Lowe --- .../ParquetCachedBatchSerializer.scala | 22 +++++++++++++++++++ .../ParquetCachedBatchSerializer.scala | 22 +++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 shims/spark312/src/main/scala/com/nvidia/spark/rapids/shims/spark312/ParquetCachedBatchSerializer.scala create mode 100644 shims/spark320/src/main/scala/com/nvidia/spark/rapids/shims/spark320/ParquetCachedBatchSerializer.scala diff --git a/shims/spark312/src/main/scala/com/nvidia/spark/rapids/shims/spark312/ParquetCachedBatchSerializer.scala b/shims/spark312/src/main/scala/com/nvidia/spark/rapids/shims/spark312/ParquetCachedBatchSerializer.scala new file mode 100644 index 000000000000..a3c2c99824a9 --- /dev/null +++ b/shims/spark312/src/main/scala/com/nvidia/spark/rapids/shims/spark312/ParquetCachedBatchSerializer.scala @@ -0,0 +1,22 @@ +/* + * Copyright (c) 2021, NVIDIA CORPORATION. + * + * 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.nvidia.spark.rapids.shims.spark312 + +import com.nvidia.spark.rapids.shims + +class ParquetCachedBatchSerializer extends shims.spark311.ParquetCachedBatchSerializer { +} diff --git a/shims/spark320/src/main/scala/com/nvidia/spark/rapids/shims/spark320/ParquetCachedBatchSerializer.scala b/shims/spark320/src/main/scala/com/nvidia/spark/rapids/shims/spark320/ParquetCachedBatchSerializer.scala new file mode 100644 index 000000000000..99b351cf58dc --- /dev/null +++ b/shims/spark320/src/main/scala/com/nvidia/spark/rapids/shims/spark320/ParquetCachedBatchSerializer.scala @@ -0,0 +1,22 @@ +/* + * Copyright (c) 2021, NVIDIA CORPORATION. + * + * 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.nvidia.spark.rapids.shims.spark320 + +import com.nvidia.spark.rapids.shims + +class ParquetCachedBatchSerializer extends shims.spark311.ParquetCachedBatchSerializer { +}