livequery-models/models/deploy/core/_external_access.sql
Jensen Yap 5ae4187602 Enhance UDF compatibility checks and refactor UDF definitions
- 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.
2025-08-12 17:49:43 +09:00

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