Skip to content

Commit

Permalink
add test back
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-alhuang committed Nov 11, 2024
1 parent bca54d2 commit 0d147d2
Showing 1 changed file with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,12 @@ public void testStringAndQueries() throws Exception {
Arrays.asList(StringUtils.repeat("a", 33), StringUtils.repeat("*", 3), null, ""),
"select MAX(LENGTH({columnName})) from {tableName}",
Arrays.asList(33L));
// TODO: Add this back after the following JIRA is fixed
// SNOW-1798403 Error when querying maximum values on string columns of managed Iceberg tables
// with maximum length
// testIcebergIngestAndQuery(
// "string",
// Arrays.asList(StringUtils.repeat("a", 16 * 1024 * 1024), null, null, null, "aaa"),
// "select MAX({columnName}) from {tableName}",
// Arrays.asList(StringUtils.repeat("a", 16 * 1024 * 1024)));

// TODO: Change to 16MB after SNOW-1798403 fixed
testIcebergIngestAndQuery(
"string",
Arrays.asList(StringUtils.repeat("a", 16 * 1024 * 1024 - 1), null, null, null, "aaa"),
"select MAX({columnName}) from {tableName}",
Arrays.asList(StringUtils.repeat("a", 16 * 1024 * 1024 - 1)));
}
}

0 comments on commit 0d147d2

Please sign in to comment.