Skip to content

Commit

Permalink
Remove test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-dheyman-1 committed Oct 17, 2024
1 parent f9db619 commit 95defa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1258,21 +1258,6 @@ private void copyContentFrom(File file1, File file2) throws Exception {
}
}

@Test
public void getFIleFromTestStage() {
try (Connection connection = getConnection();
Statement statement = connection.createStatement()) {
try {
statement.execute(
"GET @dheyman_test_stage file:///Users/dheyman/Documents/Snowflake/Projects/snowflake-jdbc/downloaded_files");
} catch (Exception e) {
e.printStackTrace();
}
} catch (Exception e) {
e.printStackTrace();
}
}

@Test
@ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class)
public void testPutS3RegionalUrl() throws Throwable {
Expand Down
5 changes: 2 additions & 3 deletions src/test/java/net/snowflake/client/jdbc/StatementIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,8 @@ public void testStatementClose() throws SQLException {
@Test
public void testExecuteSelect() throws SQLException {
try (Statement statement = connection.createStatement()) {
statement.execute("alter session set jdbc_query_result_format = 'json'");
statement.execute("alter session set CLIENT_RESULT_CHUNK_SIZE = 48");
String sqlSelect = "select * from fake_sample_data.public.customer";

String sqlSelect = "select seq4() from table(generator(rowcount=>3))";
boolean success = statement.execute(sqlSelect);
assertTrue(success);
String queryID1 = statement.unwrap(SnowflakeStatement.class).getQueryID();
Expand Down

0 comments on commit 95defa9

Please sign in to comment.