Skip to content
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

fix: external tables issues #2334

Merged
merged 2 commits into from
Jan 11, 2024
Merged

Conversation

sfc-gh-jcieslak
Copy link
Collaborator

@sfc-gh-jcieslak sfc-gh-jcieslak commented Jan 10, 2024

A Fix for
#2310 - (bugfix) - column_type was mapping incorrectly column data types. It was using sdk.ToDataType which strips down some of the information. Had to replace sdk.ToDataType with plain mapping sdk.DataType(column_type).
#2293 - (bugfix) - partition by was incorrectly mapped from the request to SQL struct. Had to add the field in mapping.
#1564 - (feature request) - introduce table_format = "delta" field to the schema. Had to differentiate the external table type in the Create operation to choose the correct create option from the ExternalTables interface.

Test Plan

  • Acceptance tests for every issue
  • unskipped previous one (..._basic one)

References

Copy link

Integration tests failure for 35f25515f960ee90efc9d64bf6db96e7b5234964

Copy link

Integration tests failure for 79da064e10e3aba6d3ff2717b2d2aed88f586632

@sfc-gh-jcieslak sfc-gh-jcieslak changed the title Fix: external tables issues fix: external tables issues Jan 10, 2024
Copy link

Integration tests failure for 79da064e10e3aba6d3ff2717b2d2aed88f586632

Copy link

Integration tests failure for b05f32d8dc41994c3d4282dee9a01d155e0fe1a3

@sfc-gh-jcieslak sfc-gh-jcieslak merged commit ae41691 into main Jan 11, 2024
5 of 7 checks passed
@sfc-gh-jcieslak sfc-gh-jcieslak deleted the fix-external-tables-issues branch January 11, 2024 07:54
Copy link

Integration tests failure for 5f227ab30fa75f982d19dfb3d28a588c809059fb

sfc-gh-jcieslak pushed a commit that referenced this pull request Jan 11, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.83.0](v0.82.0...v0.83.0)
(2024-01-11)


### 🎉 **What's new:**

* Add create streamlit privilege to the SDK
([#2303](#2303))
([be01d5f](be01d5f))
* grant privileges to database role resource
([#2306](#2306))
([0311cf8](0311cf8))


### 🐛 **Bug fixes:**

* Add secondary account and fix tests
([#2324](#2324))
([da6ca73](da6ca73))
* external tables issues
([#2334](#2334))
([ae41691](ae41691))
* Fix test because of the date
([#2312](#2312))
([9a9ea33](9a9ea33))
* Fix warehouse read and resource monitor empty set
([#2319](#2319))
([05f96c6](05f96c6)),
closes
[#2318](#2318)
[#2316](#2316)
* goreleaser for mfa token caching
([#2320](#2320))
([4fef709](4fef709))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: snowflake-release-please[bot] <105954990+snowflake-release-please[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants