Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SNOW-1926861: Run lob tests with 128 MB limit #2075

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class LobSizeLatestIT extends BaseJDBCTest {
private static final Map<Integer, String> LobSizeStringValues = new HashMap<>();

// Max LOB size is testable from version 3.15.0 and above.
private static int maxLobSize = 16 * 1024 * 1024; // default value
private static int maxLobSize = 128 * 1024 * 1024; // default value
private static int largeLobSize = maxLobSize / 2;
private static int mediumLobSize = largeLobSize / 2;
private static int smallLobSize = 16;
Expand Down Expand Up @@ -103,7 +103,9 @@ private void createTable(int lobSize, Statement stmt) throws SQLException {
String createTableQuery =
"create or replace table "
+ tableName
+ " (c1 varchar, c2 varchar("
+ " (c1 varchar("
+ lobSize
+ "), c2 varchar("
+ lobSize
+ "), c3 varchar)";
stmt.execute(createTableQuery);
Expand Down
Loading