fix: Don't panic on remove op#205
Merged
kravets-levko merged 1 commit intodatabricks:mainfrom Apr 10, 2024
candiduslynx:patch-1
Merged
fix: Don't panic on remove op#205kravets-levko merged 1 commit intodatabricks:mainfrom candiduslynx:patch-1
remove op#205kravets-levko merged 1 commit intodatabricks:mainfrom
candiduslynx:patch-1
Conversation
| for i := range stringValues { | ||
| if s, ok := sqlRow[i].(string); ok { | ||
| for i, val := range sqlRow { // this will either be 3 (remove op) or 4 (put/get) elements | ||
| if s, ok := val.(string); ok { |
Contributor
There was a problem hiding this comment.
@andrefurlan-db @rcypher-databricks for me this code looks totally fine, but better if one of you take a look. thanks!
Signed-off-by: candiduslynx <candiduslynx@gmail.com>
Contributor
Author
|
(force-pushed to signoff) |
Contributor
Author
|
@kravets-levko any chance to speed this review up & release the new SDK version? It's a blocker for us to be able to load data into databricks via Go |
kravets-levko
approved these changes
Apr 10, 2024
Contributor
Author
|
@kravets-levko also #207 would be nice |
andrefurlan-db
approved these changes
Apr 10, 2024
Contributor
Author
|
@andrefurlan-db @kravets-levko could you please release a new tag with this & #207 fixes? |
Contributor
|
@candiduslynx sorry for delay - v1.5.4 just published |
atzoum
pushed a commit
to rudderlabs/sqlconnect-go
that referenced
this pull request
Apr 29, 2024
….5.3 to 1.5.4 (#61) Bumps [github.com/databricks/databricks-sql-go](https://github.com/databricks/databricks-sql-go) from 1.5.3 to 1.5.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/databricks/databricks-sql-go/releases">github.com/databricks/databricks-sql-go's releases</a>.</em></p> <blockquote> <h2>v1.5.4</h2> <h2>What's Changed</h2> <ul> <li><code>databricks/databricks-sql-go#189</code><a href="https://github.com/rcypher-databricks"><code>@rcypher-databricks</code></a>)</li> <li><code>databricks/databricks-sql-go#197</code><a href="https://github.com/mdibaiee"><code>@mdibaiee</code></a>)</li> <li><code>databricks/databricks-sql-go#205</code><a href="https://github.com/candiduslynx"><code>@candiduslynx</code></a>)</li> <li><code>databricks/databricks-sql-go#207</code><a href="https://github.com/candiduslynx"><code>@candiduslynx</code></a>)</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/databricks/databricks-sql-go/compare/v1.5.3...v1.5.4">https://github.com/databricks/databricks-sql-go/compare/v1.5.3...v1.5.4</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/databricks/databricks-sql-go/blob/main/CHANGELOG.md">github.com/databricks/databricks-sql-go's changelog</a>.</em></p> <blockquote> <h2>v1.5.4 (2024-04-10)</h2> <ul> <li><code>databricks/databricks-sql-go#189</code><a href="https://github.com/rcypher-databricks"><code>@rcypher-databricks</code></a>)</li> <li><code>databricks/databricks-sql-go#197</code><a href="https://github.com/mdibaiee"><code>@mdibaiee</code></a>)</li> <li><code>databricks/databricks-sql-go#205</code><a href="https://github.com/candiduslynx"><code>@candiduslynx</code></a>)</li> <li><code>databricks/databricks-sql-go#207</code><a href="https://github.com/candiduslynx"><code>@candiduslynx</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/databricks/databricks-sql-go/commit/e82880f5e0583fcb1228080956d8ca27491f22c3"><code>e82880f</code></a> Prepare release v1.5.4 (<a href="https://redirect.github.com/databricks/databricks-sql-go/issues/208">#208</a>)</li> <li><a href="https://github.com/databricks/databricks-sql-go/commit/7ac797b5800fec66147795b2039886e270f9b944"><code>7ac797b</code></a> fix: Properly format <code>time.Time</code> values (<a href="https://redirect.github.com/databricks/databricks-sql-go/issues/207">#207</a>)</li> <li><a href="https://github.com/databricks/databricks-sql-go/commit/dea3e6ded2e8c6012d223168b7577f71016e6aa9"><code>dea3e6d</code></a> fix: Don't panic on <code>remove</code> op (<a href="https://redirect.github.com/databricks/databricks-sql-go/issues/205">#205</a>)</li> <li><a href="https://github.com/databricks/databricks-sql-go/commit/00bc1c893537290e8db73b9921151123b8cebd2b"><code>00bc1c8</code></a> staging put: stream file uploads instead of loading all to memory (<a href="https://redirect.github.com/databricks/databricks-sql-go/issues/197">#197</a>)</li> <li><a href="https://github.com/databricks/databricks-sql-go/commit/bb10f7a642f79133a4a2cb200d2c47e4909581fb"><code>bb10f7a</code></a> Update Github workflows to fix deprecation warnings (<a href="https://redirect.github.com/databricks/databricks-sql-go/issues/203">#203</a>)</li> <li><a href="https://github.com/databricks/databricks-sql-go/commit/d70ab7c5b6dda71f1439bd3edc51a2d2022f7d92"><code>d70ab7c</code></a> Added GCP cloud type for OAuth (<a href="https://redirect.github.com/databricks/databricks-sql-go/issues/189">#189</a>)</li> <li><a href="https://github.com/databricks/databricks-sql-go/commit/5adddfcbcaad7991ea084242606dd4527bd5a396"><code>5adddfc</code></a> Update owners (<a href="https://redirect.github.com/databricks/databricks-sql-go/issues/190">#190</a>)</li> <li>See full diff in <a href="https://github.com/databricks/databricks-sql-go/compare/v1.5.3...v1.5.4">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #204