Skip to content

Commit 049440a

Browse files
author
gituser
committed
Merge branch '1.8_release_3.10.x' into 1.8_release_4.0.x
2 parents 412e6bd + bd0c5f3 commit 049440a

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(0);
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(0);
99+
statement.setFetchSize(fetchSize);
100100

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

0 commit comments

Comments
 (0)