You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Folks, before submitting this as an issue I wanted to hopefully get a quick confirmation that I'm not missing something. From my testing and reading of the code I believe snowflake_view does not currently support reading the or_replace setting. It does support setting it during the initial creation, however if you're importing existing views it does not actually read the SQL text to know whether "OR REPLACE" is present. I believe ReadView() would need some logic to determine if "or replace" is present in the "text" field, possibly even as part of the existing NewViewSelectStatementExtractor() parser. Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi Folks, before submitting this as an issue I wanted to hopefully get a quick confirmation that I'm not missing something. From my testing and reading of the code I believe snowflake_view does not currently support reading the or_replace setting. It does support setting it during the initial creation, however if you're importing existing views it does not actually read the SQL text to know whether "OR REPLACE" is present. I believe ReadView() would need some logic to determine if "or replace" is present in the "text" field, possibly even as part of the existing NewViewSelectStatementExtractor() parser. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions