mirror of
https://github.com/FlipsideCrypto/livequery-models.git
synced 2026-02-06 02:46:57 +00:00
Refactor external access integration and clean up SQL macros (#129)
- 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:
parent
bafc04a856
commit
430bc25db1
@ -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
|
||||
|
||||
@ -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
|
||||
@ -1,4 +1,3 @@
|
||||
-- depends_on: {{ ref('_utils') }}
|
||||
-- depends_on: {{ ref('_external_access')}}
|
||||
{% set config = config_core_utils %}
|
||||
{{ ephemeral_deploy_core(config) }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user