Replies: 3 comments 2 replies
-
Unless Snowflake fixed the problem with delays, this feature is most likely useless and should be avoided. Without consistency is has no value. If you set tags for objects, you are probably planning to rely on these tags for something. But reading tags will be as inconsistent as writing, so your scripts may not be able to read the most recent state and fail. Having a basic config file with tags and reading it directly from your Python code is more reliable. Even using basic object COMMENT is more reliable. |
Beta Was this translation helpful? Give feedback.
-
In theory, we may consider the following option:
Probably the same thing you've planned to do with tags, but consistent, free of charge, without any limitations. Sample config for table:
|
Beta Was this translation helpful? Give feedback.
-
@littleK0i Thanks for the prompt response. When you talk about adding a universal parameter And if I understand you correctly, the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
@littleK0i
I see here that Object Tags are not currently supported.
Is there any update on if/when they will be supported?
Has anyone in the community implemented support for that object type that can be shared informally?
I understand that the view and function have a lag.
Wouldn't that simply cause SnowDDL to repeatedly re-apply the Tags (on each
apply
run) until that information is updated?Would that be a reasonable tradeoff to accept in order to have that support?
I suppose that there could be improperly tagged items if the data is out of date.
But if the DDL to apply them is just
ALTER <object> SET TAG <tagName> = '<tagValue>'
then I would think that just always applying them if they aren't returned from the View/Function would be safe to do.Beta Was this translation helpful? Give feedback.
All reactions