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: read Database and Schema name during Stream import #732

Merged
merged 2 commits into from
Oct 25, 2021

Conversation

dkduo
Copy link
Contributor

@dkduo dkduo commented Oct 25, 2021

Update the stream resource to read both the Database name and the
Schema name along with the other attributes so that after importing an
existing Stream you are not prompted to recreate the Stream due to the
missing values.

Update both the unit test and the acceptance test to verify a
successful read and import.

Fix the example import command show in the docs.

Issues:

Test Plan

  • unit tests
  • acceptance tests

References

Update the stream resource to read both the Database name and the
Schema name along with the other attributes so that after importing an
existing Stream you are not prompted to recreate the Stream due to the
missing values.

Update both the unit test and the acceptance test to verify a
successful read and import.

Addresses Issue 466.
@dkduo dkduo changed the title Read Database and Schema name during import Fix read Database and Schema name during import Oct 25, 2021
@dkduo dkduo changed the title Fix read Database and Schema name during import fix: read Database and Schema name during import Oct 25, 2021
@dkduo dkduo changed the title fix: read Database and Schema name during import fix: read Database and Schema name during Stream import Oct 25, 2021
@alldoami
Copy link
Contributor

/ok-to-test sha=ce708a4

@alldoami
Copy link
Contributor

run make docs

@github-actions
Copy link

Integration tests success for ce708a4

@alldoami
Copy link
Contributor

/ok-to-test sha=3e3f4e3

@github-actions
Copy link

Integration tests success for 3e3f4e3

@alldoami alldoami merged commit 9f747b5 into Snowflake-Labs:main Oct 25, 2021
@dkduo
Copy link
Contributor Author

dkduo commented Oct 25, 2021

Thanks for the quick review @alldoami!!

@dkduo dkduo deleted the import_stream branch October 25, 2021 23:00
daniepett pushed a commit to daniepett/terraform-provider-snowflake that referenced this pull request Feb 9, 2022
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.

2 participants