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

feat: Rework schema datasource #2954

Merged
merged 5 commits into from
Jul 24, 2024
Merged

feat: Rework schema datasource #2954

merged 5 commits into from
Jul 24, 2024

Conversation

sfc-gh-jmichalak
Copy link
Collaborator

Rework schema datasource:

  • add acceptance tests
  • add entry to the migration guide

Test Plan

  • acceptance tests

References

https://docs.snowflake.com/en/sql-reference/sql/show-schemas

@sfc-gh-jmichalak sfc-gh-jmichalak changed the title Implement schema datasource feat: Rework schema datasource Jul 24, 2024
@sfc-gh-jmichalak sfc-gh-jmichalak marked this pull request as ready for review July 24, 2024 09:23
Copy link

Integration tests failure for 07334d250ca876546abb3b85410a3c8e96847ee0

Copy link

Integration tests failure for fa81301128c1d5a8734c6c626d2d10e9ebce5e7b

Copy link

Integration tests failure for e18dec94949af8c1977c8539fe9f27b5ff36e425

}

if v, ok := d.GetOk("in"); ok {
in := v.([]interface{})[0].(map[string]interface{})
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: we tend to use any instead of interface{}

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll change this in the next PR.

Copy link

Integration tests failure for eae062e57089fb69503ae95f845f26286ad9f472

@sfc-gh-jmichalak sfc-gh-jmichalak merged commit f70e40e into main Jul 24, 2024
8 of 9 checks passed
@sfc-gh-jmichalak sfc-gh-jmichalak deleted the schema-v1 branch July 24, 2024 12:16
sfc-gh-jcieslak pushed a commit that referenced this pull request Jul 26, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.94.0](v0.93.0...v0.94.0)
(2024-07-26)


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

* Add missing session parameters
([#2936](#2936))
([4ce662d](4ce662d))
* Adjust user SDK
([#2947](#2947))
([1127bb3](1127bb3))
* Better tests poc
([#2917](#2917))
([ef496c2](ef496c2))
* Introduce assertions generators part1
([#2952](#2952))
([1582a9f](1582a9f))
* Introduce assertions generators part2
([#2956](#2956))
([f715e8a](f715e8a))
* network policy v1 readiness
([#2914](#2914))
([3408c3f](3408c3f))
* Rework schema datasource
([#2954](#2954))
([f70e40e](f70e40e))
* Rework schema resource
([#2955](#2955))
([400a5c8](400a5c8))
* Role v1 readiness
([#2916](#2916))
([32c7690](32c7690))
* Schema SDK upgrade
([#2945](#2945))
([bca0836](bca0836))
* Streamlit v1 readiness
([#2930](#2930))
([aa42260](aa42260))


### 🔧 **Misc**

* Remove deprecation from unsafe execute
([#2941](#2941))
([ed712d7](ed712d7))
* Update documentation
([#2931](#2931))
([da98bc3](da98bc3))


### 🐛 **Bug fixes:**

* ATTRIBUTE set(string) parsing for cortex search service
([#2953](#2953))
([70a1c9a](70a1c9a))
* external function header parsing and add missing privileges
([#2961](#2961))
([9d882fe](9d882fe))
* Fix sync_password field for Azure scim clients
([#2950](#2950))
([6781133](6781133))
* Fix tests and relax warehouse validations
([#2959](#2959))
([dd01ce9](dd01ce9)),
closes
[#2948](#2948)

---
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