mirror of
https://github.com/FlipsideCrypto/livequery-models.git
synced 2026-02-06 10:56:46 +00:00
- Updated UDF definitions to utilize the new `is_udf_api_v2_compatible()` macro for compatibility checks, replacing the previous `check_udf_api_v2_exists()` method. - Refactored SQL logic across multiple UDFs to improve clarity and maintainability. - Added conditional checks for UDF API version compatibility in various macros, ensuring backward compatibility and improved functionality. - Enhanced comments and documentation for better understanding and maintainability of the codebase.
9 lines
251 B
SQL
9 lines
251 B
SQL
{% if is_udf_api_v2_compatible() %}
|
|
{{ create_s3_express_external_access_integration() }}
|
|
{% endif %}
|
|
|
|
-- this is to pass the model render as dbt dependency in other models
|
|
-- livequery will need s3 express access to read from the s3 bucket
|
|
|
|
SELECT 1
|