diff --git a/Makefile b/Makefile index 5aa4313..6d3192c 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ udfs: udf_2: dbt run-operation create_udf_bulk_grpc_us_east_2 \ - --vars '{"UPDATE_UDFS_AND_SPS":False}' \ + --vars '{"UPDATE_UDFS_AND_SPS":True}' \ --profile flow \ --target $(DBT_TARGET) \ --profiles-dir ~/.dbt/ @@ -83,7 +83,7 @@ tx_history: tx_results_history: dbt run \ --vars '{"STREAMLINE_INVOKE_STREAMS":True, "STREAMLINE_USE_DEV_FOR_EXTERNAL_TABLES": True}' \ - -m 1+models/silver/streamline/core/history/transaction_results/streamline__get_transaction_results_history_mainnet22.sql \ + -m 1+models/silver/streamline/core/history/transaction_results/streamline__get_transaction_results_history_mainnet_22.sql \ --profile flow \ --target $(DBT_TARGET) \ --profiles-dir ~/.dbt @@ -94,4 +94,6 @@ lq_overloads: --profile flow \ --target $(DBT_TARGET) \ --profiles-dir ~/.dbt \ - --vars '{"UPDATE_EPHEMERAL_UDFS":True}' \ No newline at end of file + --vars '{"UPDATE_EPHEMERAL_UDFS":True}' + + diff --git a/macros/streamline/streamline_udfs.sql b/macros/streamline/streamline_udfs.sql index 441b180..84d77ae 100644 --- a/macros/streamline/streamline_udfs.sql +++ b/macros/streamline/streamline_udfs.sql @@ -36,7 +36,7 @@ {% if target.name == "prod" %} aws_flow_api_prod_us_east_2 AS 'https://78rpbojpue.execute-api.us-east-2.amazonaws.com/prod/udf_bulk_grpc' {% elif target.name == "dev" %} - aws_flow_api_dev_3 AS 'https://ul6x832e8l.execute-api.us-east-1.amazonaws.com/dev/udf_bulk_grpc' + aws_flow_api_dev_3 AS 'https://j6qalrfe69.execute-api.us-east-2.amazonaws.com/dev/udf_bulk_grpc' {% elif target.name == "sbx" %} {{ log("Creating sbx udf_bulk_grpc", info=True) }} aws_flow_api_sbx AS 'https://bc5ejedoq8.execute-api.us-east-1.amazonaws.com/sbx/udf_bulk_grpc'