Repository navigation
Update Snowflake JDBC driver to 4.3.4 #67
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
Closed
vishwasvaidya-cloudsufi
wants to merge
35
commits into
data-integrations:develop
from
cloudsufi:change-snowflake-version-4.3.4
Closed
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
77d72c9
Version bump to 1.1.0 (#11)
MrRahulSharma 75a10c9
Bumping the plugin version to 1.1.1-SNAPSHOT (#10)
MrRahulSharma 9ef53ef
Fixed null output schema
75c1ac0
Merge pull request #16 from cloudsufi/cdap-1682
vikasrathee-cs 3b7d484
Bumping the plugin version to 1.1.1
4801fc8
Merge pull request #17 from cloudsufi/release/1.1
vikasrathee-cs 388ffe8
bump up from 1.1.1 to 1.1.2-SNAPSHOT
vikasrathee-cs 8bcb39f
Merge pull request #19 from data-integrations/bumpup-to-1.1.2-SNAPSHOT
vikasrathee-cs ab5d2c9
added support for timestamp_tz datatype.
vikasrathee-cs 553189b
Merge pull request #20 from cloudsufi/cherrypick-timestamp-fix
vikasrathee-cs 2dc31af
Upgrading the driver version from 3.13.24 to 3.14.4
vikasrathee-cs 1b825cb
Merge pull request #28 from cloudsufi/cherrypick-oauth-3.14.4
vikasrathee-cs 4f76380
bump up from 1.1.2-SNAPSHOT to 1.1.2
vikasrathee-cs 17b6925
Merge pull request #29 from data-integrations/bump-up-1.1.2
vikasrathee-cs c2ada2d
bump up to 1.1.3-SNAPSHOT
vikasrathee-cs bc1a68c
Merge pull request #31 from data-integrations/bump-up-to-1.1.3-SNAPSHOT
vikasrathee-cs 98681e3
Fix added to override schema
vikasrathee-cs 41813c6
Added unit test cases flow for build.
vikasrathee-cs 82b77d1
Merge pull request #35 from cloudsufi/override-schema-release
vikasrathee-cs 5e3c487
bump up to 1.1.3 Snapshot
vikasrathee-cs 3b340b9
Merge pull request #36 from cloudsufi/bump-up-1.1.3
vikasrathee-cs b5c9d96
Added fix for decimal issue not having rounding mode and made escape …
vikasrathee-cs f7d8d0a
bump up to 1.1.4-SNAPSHOT
vikasrathee-cs 2b7f72e
Merge pull request #38 from cloudsufi/snowflake-fixes
vikasrathee-cs 14283e4
bump up to 1.1.4
vikasrathee-cs 5295fd5
Merge pull request #39 from cloudsufi/bump-up-1.1.4
vikasrathee-cs c72b744
Bump version to 1.11.5-SNAPSHOT for snowflake plugin release
sgarg-CS d6b222a
Merge pull request #49 from cloudsufi/bump/1.11.5-SNAPSHOT
sgarg-CS ed8e1ea
PLUGIN-1883: Fetch schema using Named Table in SnowFlake Plugin and P…
sgarg-CS 753b7b9
Merge pull request #51 from cloudsufi/cloudsuficherry-pick/9d8bc2caae…
sgarg-CS 4e3a422
CDAP OSS migration
98be1c0
Merge pull request #57 from data-integrations/cherry-pick-610/b295b5b…
0589aaf
Update Snowflake JDBC driver to 4.0.2 and adapt API changes
harishhk107 1d4b3e0
bump to 1.1.5
harishhk107 7abb1ca
Update Snowflake JDBC driver to 4.3.4
vishwasvaidya-cloudsufi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| # Copyright © 2024 Cask Data, Inc. | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); you may not | ||
| # use this file except in compliance with the License. You may obtain a copy of | ||
| # the License at | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
| # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
| # License for the specific language governing permissions and limitations under | ||
| # the License. | ||
|
|
||
| # This workflow will build a Java project with Maven | ||
| # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | ||
| # Note: Any changes to this workflow would be used only after merging into develop | ||
| name: Build Unit Tests Report | ||
|
|
||
| on: | ||
| workflow_run: | ||
| workflows: | ||
| - Build with unit tests | ||
| types: | ||
| - completed | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| if: ${{ github.event.workflow_run.conclusion != 'skipped' }} | ||
|
|
||
| steps: | ||
| # Pinned 1.0.0 version | ||
| - uses: marocchino/action-workflow_run-status@54b6e87d6cb552fc5f36dbe9a722a6048725917a | ||
|
|
||
| - name: Download artifact | ||
| uses: actions/download-artifact@v4 | ||
| with: | ||
| github-token: ${{ secrets.GITHUB_TOKEN }} | ||
| run-id: ${{ github.event.workflow_run.id }} | ||
| path: artifacts/ | ||
|
|
||
| - name: Surefire Report | ||
| # Pinned 3.5.2 version | ||
| uses: mikepenz/action-junit-report@16a9560bd02f11e7e3bf6b3e2ef6bba6c9d07c32 | ||
| if: always() | ||
| with: | ||
| report_paths: '**/target/surefire-reports/TEST-*.xml' | ||
| github_token: ${{ secrets.GITHUB_TOKEN }} | ||
| detailed_summary: true | ||
| commit: ${{ github.event.workflow_run.head_sha }} | ||
| check_name: Build Test Report |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| # Copyright © 2024 Cask Data, Inc. | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); you may not | ||
| # use this file except in compliance with the License. You may obtain a copy of | ||
| # the License at | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
| # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
| # License for the specific language governing permissions and limitations under | ||
| # the License. | ||
|
|
||
| # This workflow will build a Java project with Maven | ||
| # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | ||
| # Note: Any changes to this workflow would be used only after merging into develop | ||
| name: Build with unit tests | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ develop, release/** ] | ||
| pull_request: | ||
| branches: [ develop, release/** ] | ||
| types: [opened, synchronize, reopened, labeled] | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: k8s-runner-build | ||
|
|
||
| # We allow builds: | ||
| # 1) When it's a merge into a branch | ||
| # 2) For PRs that are labeled as build and | ||
| # - It's a code change | ||
| # - A build label was just added | ||
| # A bit complex, but prevents builds when other labels are manipulated | ||
| if: > | ||
| github.event_name == 'push' | ||
| || (contains(github.event.pull_request.labels.*.name, 'build') | ||
| && (github.event.action != 'labeled' || github.event.label.name == 'build') | ||
| ) | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| with: | ||
| ref: ${{ github.event.workflow_run.head_sha }} | ||
| - name: Cache | ||
| uses: actions/cache@v3 | ||
| with: | ||
| path: ~/.m2/repository | ||
| key: ${{ runner.os }}-maven-${{ github.workflow }}-${{ hashFiles('**/pom.xml') }} | ||
| restore-keys: | | ||
| ${{ runner.os }}-maven-${{ github.workflow }} | ||
| - name: Build with Maven | ||
| run: mvn clean test -fae -T 2 -B -V -DcloudBuild -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 | ||
| - name: Archive build artifacts | ||
| uses: actions/upload-artifact@v4 | ||
| if: always() | ||
| with: | ||
| name: reports-${{ github.run_id }} | ||
| path: | | ||
| **/target/rat.txt | ||
| **/target/surefire-reports/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The caught
SQLExceptionis swallowed, and a genericIOExceptionis thrown without a message or the root cause. This makes troubleshooting database connection or query issues extremely difficult. Please pass the original exception as the cause to theIOException.