diff --git a/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/FlinkCatalog.java b/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/FlinkCatalog.java index 572e773952003..a641fe94378c9 100644 --- a/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/FlinkCatalog.java +++ b/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/FlinkCatalog.java @@ -387,7 +387,8 @@ private static Set getValidOptions() { try { Class rocksDBOptionsClass = Class.forName("org.apache.paimon.lookup.RocksDBOptions"); rocksDBOptionsFields = Stream.of(rocksDBOptionsClass.getFields()); - } catch (ClassNotFoundException e) { + } catch (Exception e) { + // RocksDBOptions class not found. rocksDBOptionsFields = Stream.empty(); }