Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
added limit statement to jdbc source timestamp incrementing table query
Browse files Browse the repository at this point in the history
  • Loading branch information
ericalandouglas committed Jan 24, 2018
1 parent acdfbe0 commit 33f7e81
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ protected void createPreparedStatement(Connection db) throws SQLException {
builder.append(JdbcUtils.quoteString(timestampColumn, quoteString));
builder.append(" ASC");
}
builder.append(" LIMIT 10000");
String queryString = builder.toString();
log.debug("{} prepared SQL query: {}", this, queryString);
stmt = db.prepareStatement(queryString);
Expand Down

0 comments on commit 33f7e81

Please sign in to comment.