Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-ext-simba-jy committed Apr 17, 2024
1 parent fbdddf6 commit caf6bd2
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,9 @@ public class SnowflakeS3ClientHandleExceptionLatestIT extends AbstractDriverIT {
public void setup() throws SQLException {
connection = getConnection("s3testaccount");
sfSession = connection.unwrap(SnowflakeConnectionV1.class).getSfSession();
try (Statement statement = connection.createStatement()) {
sfStatement = statement.unwrap(SnowflakeStatementV1.class).getSfStatement();
statement.execute("CREATE OR REPLACE STAGE testPutGet_stage");
}
Statement statement = connection.createStatement();
sfStatement = statement.unwrap(SnowflakeStatementV1.class).getSfStatement();
statement.execute("CREATE OR REPLACE STAGE testPutGet_stage");
command = "PUT file://" + getFullPathFileInResource(TEST_DATA_FILE) + " @testPutGet_stage";
SnowflakeFileTransferAgent agent =
new SnowflakeFileTransferAgent(command, sfSession, sfStatement);
Expand Down

0 comments on commit caf6bd2

Please sign in to comment.