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/incubator-paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new 38d899ec0 [core] Enrich bulkLoad exception message RocksDBStateFactory
38d899ec0 is described below

commit 38d899ec02a28d5d0fdddd6bc982ecba160dfe4f
Author: Jingsong <[email protected]>
AuthorDate: Tue Nov 28 14:12:54 2023 +0800

    [core] Enrich bulkLoad exception message RocksDBStateFactory
---
 .../src/main/java/org/apache/paimon/lookup/RocksDBStateFactory.java   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/paimon-core/src/main/java/org/apache/paimon/lookup/RocksDBStateFactory.java 
b/paimon-core/src/main/java/org/apache/paimon/lookup/RocksDBStateFactory.java
index 5ebdd2f92..ccd1a0316 100644
--- 
a/paimon-core/src/main/java/org/apache/paimon/lookup/RocksDBStateFactory.java
+++ 
b/paimon-core/src/main/java/org/apache/paimon/lookup/RocksDBStateFactory.java
@@ -104,7 +104,9 @@ public class RocksDBStateFactory implements Closeable {
             } catch (RocksDBException e) {
                 throw new RuntimeException(
                         "Exception in bulkLoad, the most suspicious reason is 
that "
-                                + "your data contains duplicates, please check 
your sink table.",
+                                + "your data contains duplicates, please check 
your sink table. "
+                                + "(The likelihood of duplication is that you 
used multiple jobs to write the "
+                                + "same dynamic bucket table, it only supports 
single write)",
                         e);
             }
             recordNum++;

Reply via email to