You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by ja...@apache.org on 2023/08/29 03:36:04 UTC

[pinot] branch master updated: Use fromValue instead of valueOf to parse sse config (#11428)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 94d3b7dfe9 Use fromValue instead of valueOf to parse sse config (#11428)
94d3b7dfe9 is described below

commit 94d3b7dfe96092fd892274445bd9c4ed34f27849
Author: Florian Schäfer <33...@users.noreply.github.com>
AuthorDate: Tue Aug 29 05:35:58 2023 +0200

    Use fromValue instead of valueOf to parse sse config (#11428)
---
 .../src/main/java/org/apache/pinot/plugin/filesystem/S3PinotFS.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pinot-plugins/pinot-file-system/pinot-s3/src/main/java/org/apache/pinot/plugin/filesystem/S3PinotFS.java b/pinot-plugins/pinot-file-system/pinot-s3/src/main/java/org/apache/pinot/plugin/filesystem/S3PinotFS.java
index 0ad6b660b9..f7e154f917 100644
--- a/pinot-plugins/pinot-file-system/pinot-s3/src/main/java/org/apache/pinot/plugin/filesystem/S3PinotFS.java
+++ b/pinot-plugins/pinot-file-system/pinot-s3/src/main/java/org/apache/pinot/plugin/filesystem/S3PinotFS.java
@@ -184,7 +184,7 @@ public class S3PinotFS extends BasePinotFS {
   private void setServerSideEncryption(@Nullable String serverSideEncryption, S3Config s3Config) {
     if (serverSideEncryption != null) {
       try {
-        _serverSideEncryption = ServerSideEncryption.valueOf(serverSideEncryption);
+        _serverSideEncryption = ServerSideEncryption.fromValue(serverSideEncryption);
       } catch (Exception e) {
         throw new UnsupportedOperationException(
             String.format("Unknown value '%s' for S3PinotFS config: 'serverSideEncryption'. Supported values are: %s",


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org