Skip to content

Commit 3a28c21

Browse files
Addressed review comments by using PaginationHelper class.
1 parent 0731ea3 commit 3a28c21

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

athena-db2/src/main/java/com/amazonaws/athena/connectors/db2/Db2Constants.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ public class Db2Constants
3838
public static final String LIST_PAGINATED_TABLES_QUERY = "select tabschema AS \"TABLE_SCHEM\", tabname AS \"TABLE_NAME\" " +
3939
"from syscat.tables where type in ('T', 'U', 'V', 'W') and tabschema = ? " +
4040
"ORDER BY tabname OFFSET ? ROWS FETCH NEXT ? ROWS ONLY";
41-
public static final String ALL_TABLES_COUNT_QUERY = "select count(*) AS \"ALL_TABLES_COUNT\" " +
42-
"from syscat.tables where type in ('T', 'U', 'V', 'W') and tabschema = ? ";
4341

4442
static final String PARTITION_QUERY = "SELECT DATAPARTITIONID FROM SYSCAT.DATAPARTITIONS WHERE TABSCHEMA = ? AND TABNAME = ? AND SEQNO > 0";
4543
static final String COLUMN_INFO_QUERY = "select colname, typename from syscat.columns where tabschema = ? AND tabname = ?";

0 commit comments

Comments
 (0)