From e5f227d2dc9462000a05380da41ec141c0ddc7d4 Mon Sep 17 00:00:00 2001 From: lefebsy Date: Wed, 11 Dec 2024 23:50:01 +0100 Subject: [PATCH] formating --- .../s3compatible/S3CompatibleStorageConfigurationInfo.java | 4 +--- regtests/run_spark_sql_s3compatible.sh | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/polaris-core/src/main/java/org/apache/polaris/core/storage/s3compatible/S3CompatibleStorageConfigurationInfo.java b/polaris-core/src/main/java/org/apache/polaris/core/storage/s3compatible/S3CompatibleStorageConfigurationInfo.java index dc5d13210..5a8dbc19d 100644 --- a/polaris-core/src/main/java/org/apache/polaris/core/storage/s3compatible/S3CompatibleStorageConfigurationInfo.java +++ b/polaris-core/src/main/java/org/apache/polaris/core/storage/s3compatible/S3CompatibleStorageConfigurationInfo.java @@ -96,9 +96,7 @@ public S3CompatibleStorageConfigurationInfo( } public @NotNull String getS3CredentialsClientAccessKeyId() { - return (this.s3CredentialsClientAccessKeyId == null) - ? "" - : this.s3CredentialsClientAccessKeyId; + return (this.s3CredentialsClientAccessKeyId == null) ? "" : this.s3CredentialsClientAccessKeyId; } public @NotNull String getS3CredentialsClientSecretAccessKey() { diff --git a/regtests/run_spark_sql_s3compatible.sh b/regtests/run_spark_sql_s3compatible.sh index ecf737ca8..7ccb6c138 100755 --- a/regtests/run_spark_sql_s3compatible.sh +++ b/regtests/run_spark_sql_s3compatible.sh @@ -185,7 +185,7 @@ curl -i -X PUT -H "Authorization: Bearer ${SPARK_BEARER_TOKEN}" -H 'Accept: appl echo -e "\n----\nStart Spark-sql to test Polaris catalog with queries\n" -${SPARK_HOME}/bin/spark-sql \ +${SPARK_HOME}/bin/spark-sql --verbose \ --conf spark.sql.extensions=org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions \ --conf spark.sql.catalog.polaris.token="${SPARK_BEARER_TOKEN}" \ --conf spark.sql.catalog.polaris.warehouse=manual_spark \