Refactor external access integration and clean up SQL macros

- Removed the unused external access SQL file to streamline the project structure.
- Updated the S3 express external access integration macro by eliminating unnecessary schema usage.
- Adjusted dependencies in the utils SQL file to reflect the removal of the external access integration.
This commit is contained in:
Jensen Yap 2025-08-16 00:35:46 +09:00
parent bafc04a856
commit f29527bd16
3 changed files with 0 additions and 13 deletions

View File

@ -1,8 +1,4 @@
{% macro create_s3_express_external_access_integration() %}
{% set use_schema_sql %}
USE SCHEMA live
{% endset %}
{% set network_rule_sql %}
CREATE NETWORK RULE IF NOT EXISTS s3_express_network_rule
MODE = EGRESS

View File

@ -1,8 +0,0 @@
{% 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

View File

@ -1,4 +1,3 @@
-- depends_on: {{ ref('_utils') }}
-- depends_on: {{ ref('_external_access')}}
{% set config = config_core_utils %}
{{ ephemeral_deploy_core(config) }}