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

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


The following commit(s) were added to refs/heads/master by this push:
     new 9ff0f8fd90 [rest] Rename to x-request-id in LoggingInterceptor
9ff0f8fd90 is described below

commit 9ff0f8fd908c27b9a0a9853978b9f5e9b58e33de
Author: JingsongLi <[email protected]>
AuthorDate: Thu Mar 13 16:26:01 2025 +0800

    [rest] Rename to x-request-id in LoggingInterceptor
---
 paimon-core/src/main/java/org/apache/paimon/catalog/Catalog.java    | 6 ------
 .../src/main/java/org/apache/paimon/rest/LoggingInterceptor.java    | 4 +++-
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/paimon-core/src/main/java/org/apache/paimon/catalog/Catalog.java 
b/paimon-core/src/main/java/org/apache/paimon/catalog/Catalog.java
index 4725e41c80..3ce58d7a8a 100644
--- a/paimon-core/src/main/java/org/apache/paimon/catalog/Catalog.java
+++ b/paimon-core/src/main/java/org/apache/paimon/catalog/Catalog.java
@@ -290,9 +290,6 @@ public interface Catalog extends AutoCloseable {
      * Alter partitions of the specify table. For non-existent partitions, 
partitions will be
      * created directly.
      *
-     * <p>Only catalog with metastore can support this method, and only table 
with
-     * 'metastore.partitioned-table' can support this method.
-     *
      * @param identifier path of the table to alter partitions
      * @param partitions partitions to be altered
      * @throws TableNotExistException if the table does not exist
@@ -304,9 +301,6 @@ public interface Catalog extends AutoCloseable {
      * Mark partitions done of the specify table. For non-existent partitions, 
partitions will be
      * created directly.
      *
-     * <p>Only catalog with metastore can support this method, and only table 
with
-     * 'metastore.partitioned-table' can support this method.
-     *
      * @param identifier path of the table to mark done partitions
      * @param partitions partitions to be marked done
      * @throws TableNotExistException if the table does not exist
diff --git 
a/paimon-core/src/main/java/org/apache/paimon/rest/LoggingInterceptor.java 
b/paimon-core/src/main/java/org/apache/paimon/rest/LoggingInterceptor.java
index 57c4db4efd..7eecee0b32 100644
--- a/paimon-core/src/main/java/org/apache/paimon/rest/LoggingInterceptor.java
+++ b/paimon-core/src/main/java/org/apache/paimon/rest/LoggingInterceptor.java
@@ -28,8 +28,10 @@ import java.io.IOException;
 
 /** Defines HTTP request log interceptor. */
 public class LoggingInterceptor implements Interceptor {
+
     private static final Logger LOG = 
LoggerFactory.getLogger(LoggingInterceptor.class);
-    public static final String REQUEST_ID_KEY = "x-dlf-request-id";
+
+    public static final String REQUEST_ID_KEY = "x-request-id";
     public static final String DEFAULT_REQUEST_ID = "unknown";
 
     @Override

Reply via email to