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

snazy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git


The following commit(s) were added to refs/heads/main by this push:
     new 859d303  Update created-at property in 
createTableDirectWithWriteDelegation + enable ErrorProne ModifiedButNotUsed 
(#207)
859d303 is described below

commit 859d303ce00e617a81164a42e039619f193c1d3a
Author: Yuya Ebihara <[email protected]>
AuthorDate: Tue Aug 27 16:24:39 2024 +0900

    Update created-at property in createTableDirectWithWriteDelegation + enable 
ErrorProne ModifiedButNotUsed (#207)
---
 build-logic/src/main/kotlin/polaris-java.gradle.kts                     | 1 +
 .../apache/polaris/service/catalog/PolarisCatalogHandlerWrapper.java    | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/build-logic/src/main/kotlin/polaris-java.gradle.kts 
b/build-logic/src/main/kotlin/polaris-java.gradle.kts
index d046221..1372210 100644
--- a/build-logic/src/main/kotlin/polaris-java.gradle.kts
+++ b/build-logic/src/main/kotlin/polaris-java.gradle.kts
@@ -39,6 +39,7 @@ tasks.withType(JavaCompile::class.java).configureEach {
     "FallThrough",
     "MissingCasesInEnumSwitch",
     "MissingOverride",
+    "ModifiedButNotUsed",
     "OrphanedFormatString",
     "StringCaseLocaleUsage",
   )
diff --git 
a/polaris-service/src/main/java/org/apache/polaris/service/catalog/PolarisCatalogHandlerWrapper.java
 
b/polaris-service/src/main/java/org/apache/polaris/service/catalog/PolarisCatalogHandlerWrapper.java
index 6060384..dfa552f 100644
--- 
a/polaris-service/src/main/java/org/apache/polaris/service/catalog/PolarisCatalogHandlerWrapper.java
+++ 
b/polaris-service/src/main/java/org/apache/polaris/service/catalog/PolarisCatalogHandlerWrapper.java
@@ -581,7 +581,7 @@ public class PolarisCatalogHandlerWrapper {
                   .withLocation(request.location())
                   .withPartitionSpec(request.spec())
                   .withSortOrder(request.writeOrder())
-                  .withProperties(request.properties())
+                  .withProperties(properties)
                   .create();
 
           if (table instanceof BaseTable baseTable) {

Reply via email to