Skip to content

Commit

Permalink
🐛 Snowflake source - Fixed timestamp cursor for (#10849)
Browse files Browse the repository at this point in the history
* updated azure blob storage

* updated azure blob storage documentation

* fix remarks

* fix remarks

* fix remarks and format code

* updated doc

* updated snowflake cursor
  • Loading branch information
andriikorotkov committed Mar 5, 2022
1 parent ff4762c commit 55b92a5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@
- name: Snowflake
sourceDefinitionId: e2d65910-8c8b-40a1-ae7d-ee2416b2bfa2
dockerRepository: airbyte/source-snowflake
dockerImageTag: 0.1.9
dockerImageTag: 0.1.10
documentationUrl: https://docs.airbyte.io/integrations/sources/snowflake
icon: snowflake.svg
sourceType: database
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7678,7 +7678,7 @@
- - "client_secret"
oauthFlowOutputParameters:
- - "refresh_token"
- dockerImage: "airbyte/source-snowflake:0.1.9"
- dockerImage: "airbyte/source-snowflake:0.1.10"
spec:
documentationUrl: "https://docs.airbyte.io/integrations/sources/snowflake"
connectionSpecification:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ ENV APPLICATION source-snowflake

COPY --from=build /airbyte /airbyte

LABEL io.airbyte.version=0.1.9
LABEL io.airbyte.version=0.1.10
LABEL io.airbyte.name=airbyte/source-snowflake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

import com.fasterxml.jackson.databind.node.ObjectNode;
import io.airbyte.db.jdbc.JdbcSourceOperations;

import java.math.BigDecimal;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;

Expand All @@ -32,4 +34,9 @@ protected void putBigInt(final ObjectNode node, final String columnName, final R
}
}

@Override
protected void setTimestamp(final PreparedStatement preparedStatement, final int parameterIndex, final String value) throws SQLException {
preparedStatement.setString(parameterIndex, value);
}

}

0 comments on commit 55b92a5

Please sign in to comment.