-
Notifications
You must be signed in to change notification settings - Fork 427
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: file_format validate() for field_optionally_enclosed_by #2575
fix: file_format validate() for field_optionally_enclosed_by #2575
Conversation
@sfc-gh-asawicki |
We currently have this discussion when approaching resources redesign. Our SDK-level validations or sometimes to strict and it opens us to the problem you mentioned. We will probably soften the validations on the general level but there is no decision yet. |
Thanks for the PR @raulbonet. I left one comment. |
/ok-to-test sha=175d5d28bd32923e183e4c5ff31fbb86a7d96559 |
Integration tests failure for 175d5d28bd32923e183e4c5ff31fbb86a7d96559 |
/ok-to-test sha=6019e8b3e2b92a36cebc8cb8e034daaebbfd4300 |
Integration tests success for 6019e8b3e2b92a36cebc8cb8e034daaebbfd4300 |
Thanks for the contribution @raulbonet! 🎉 |
🤖 I have created a release *beep* *boop* --- ## [0.87.1](v0.87.0...v0.87.1) (2024-03-06) ### 🔧 **Misc** * Add deprecated resources/datasources to the main documentation page ([#2581](#2581)) ([68bbf4f](68bbf4f)) * Add deprecation message to docs ([#2578](#2578)) ([3675d6d](3675d6d)) * Add Terraform setup to the testing pipeline ([#2579](#2579)) ([216e35a](216e35a)) * Chore use get or skip in other tests ([#2570](#2570)) ([2829b90](2829b90)) * modify provider context to pass snowflake client instead of db connection ([#2577](#2577)) ([e7fd4ef](e7fd4ef)) * Speed up tests ([#2580](#2580)) ([f003715](f003715)) ### 🐛 **Bug fixes:** * file_format validate() for field_optionally_enclosed_by ([#2575](#2575)) ([5da5d93](5da5d93)) * Fix import for account parameter ([#2594](#2594)) ([cac884c](cac884c)), closes [#2573](#2573) * support snowflake application as database ([#2596](#2596)) ([b9a4a19](b9a4a19)) * tag identifiers problems ([#2534](#2534)) ([3c300e1](3c300e1)) --- 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>
ref #2385
As pointed out by https://github.com/alexmaras , the
validate()
function does not properly validate the use-case where field_optionally_enclosed_by is None.