five

Decktools

收藏
Snowflake2023-02-21 更新2024-05-01 收录
下载链接:
https://app.snowflake.com/marketplace/listing/GZTYZT5BVK
下载链接
链接失效反馈
官方服务:
资源简介:
Decktools is a set of useful tools for your Snowflake account. Includes several tools, including the powerful QTag user-defined function and user-defined table function, which allow you to better understand query comments that expose additional query metadata. Tables included: - This listing contains a set of self-contained udfs. Fields Included: - This listing contains a set of self-contained udfs. Decktools includes the following functions: QTAG(query text): Will automatically extract common comment patterns for tools like DBT from SQL text and return a list of identified attributes in a variant. See link to doc for more details on what QTAG is about & trying to accomplish. This variant is a simplified variant of the below where allcomments and allattributes are defaulted to false. In this case, only comments that follow defined structures by tools including dbt, mode, sigma, and hex as well as self-describing comments will be returned. QTAG(query text, allcomments boolean, allattributes boolean): A variant of QTAG that takes additional arguments to allow non-standard QTag attributes to be extracted. All comments means that all json structured comments are extracted, not just known QTag ones. All attributes decides whether or not unexpected attributes for known comments are extracted. By default, both of these options are false if you use the simple version of this function. QTAG_TABLE(query text) and QTAG_TABLE(query text, allcomments boolean, allattributes boolean): These are versions of QTAG that return a table result as opposed to an array result. ARRAY_SORT(arr array): A function that will sort of list of items (numbers or strings). ARRAY_OVERLAPS_ALL(main array, target array): Determines whether all of the items in the target array are in the main array. The main array may have additional elements. ARRAY_OVERLAPS_ANY(main array, target array): Determines whether at least one of the elements in the target array also exists in the main array. See the SQL examples below for how to use these tools.
提供机构:
Sundeck
创建时间:
2023-02-13
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作