mirror of
https://github.com/FlipsideCrypto/solana-models.git
synced 2026-02-06 16:26:50 +00:00
* wip * fix udf deployment code * temp change for testing workflow * update job to use latest model, remove unused var * should be joined on a cluster key to improve the join perf --------- Co-authored-by: Desmond Hui <desmondhui@Desmonds-MacBook-Pro.local>
8 lines
449 B
SQL
8 lines
449 B
SQL
{% macro udf_bulk_program_parser() %}
|
|
CREATE
|
|
OR REPLACE EXTERNAL FUNCTION streamline.udf_bulk_program_parser("JSON" OBJECT) returns ARRAY api_integration = aws_solana_api_dev AS {% if target.database == 'SOLANA' -%}
|
|
'https://pj4rqb8z96.execute-api.us-east-1.amazonaws.com/prod/bulk_program_parser'
|
|
{% else %}
|
|
'https://89kf6gtxr0.execute-api.us-east-1.amazonaws.com/dev/bulk_program_parser'
|
|
{%- endif %}
|
|
{% endmacro %} |