Skip to content

Commit 0aeafd3

Browse files
committed
fetchSize修复
1 parent 641767d commit 0aeafd3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

flinkx-phoenix/flinkx-phoenix-reader/src/main/java/com/dtstack/flinkx/phoenix/format/PhoenixInputFormat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public void openInternal(InputSplit inputSplit) throws IOException {
6868

6969
statement = dbConn.createStatement(resultSetType, resultSetConcurrency);
7070

71-
statement.setFetchSize(databaseInterface.getFetchSize());
71+
statement.setFetchSize(fetchSize);
7272

7373
statement.setQueryTimeout(queryTimeOut);
7474
String querySql = buildQuerySql(inputSplit);

flinkx-phoenix5/flinkx-phoenix5-reader/src/main/java/com/dtstack/flinkx/phoenix5/format/Phoenix5InputFormat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public void openInternal(InputSplit inputSplit) throws IOException {
9696

9797
statement = dbConn.createStatement(resultSetType, resultSetConcurrency);
9898

99-
statement.setFetchSize(databaseInterface.getFetchSize());
99+
statement.setFetchSize(fetchSize);
100100

101101
statement.setQueryTimeout(queryTimeOut);
102102
String querySql = buildQuerySql(inputSplit);

0 commit comments

Comments
 (0)