Skip to content

Commit b4f8618

Browse files
author
Kyle Dong
committed
Fix bug
1 parent 8bfe7c4 commit b4f8618

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/tencent/cloud/oceanus/sink/LoggerTableSinkFactory.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ public DynamicTableSink createDynamicTableSink(Context context) {
9999
CatalogTable table = null;
100100
try {
101101
Method method = clazz.getDeclaredMethod("getCatalogTable");
102+
method.setAccessible(true);
102103
table =
103104
(CatalogTable)
104105
method.invoke(context); // to be compatible with older Flink versions

0 commit comments

Comments
 (0)