diff --git a/.github/workflows/dbt_run_temp_traces2.yml b/.github/workflows/dbt_run_temp_traces2.yml deleted file mode 100644 index a38e90a8..00000000 --- a/.github/workflows/dbt_run_temp_traces2.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: dbt_run_temp_traces2 -run-name: dbt_run_temp_traces2 - -on: - workflow_dispatch: - schedule: - # Runs “At minute 11 past every hour.” (see https://crontab.guru) - - cron: '11 * * * *' - -env: - DBT_PROFILES_DIR: ./ - - ACCOUNT: "${{ vars.ACCOUNT }}" - ROLE: "${{ vars.ROLE }}" - USER: "${{ vars.USER }}" - PASSWORD: "${{ secrets.PASSWORD }}" - REGION: "${{ vars.REGION }}" - DATABASE: "${{ vars.DATABASE }}" - WAREHOUSE: "${{ vars.WAREHOUSE }}" - SCHEMA: "${{ vars.SCHEMA }}" - -concurrency: - group: ${{ github.workflow }} - - - -jobs: - run_dbt_jobs: - runs-on: ubuntu-latest - environment: - name: workflow_prod_2xl - - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-python@v4 - with: - python-version: "3.10" - cache: "pip" - - - name: install dependencies - run: | - pip install -r requirements.txt - dbt deps - - name: Run DBT Jobs - run: | - dbt run -m "gnosis_models,tag:traces_reload" diff --git a/models/silver/core/silver__fact_traces2.sql b/models/silver/core/silver__fact_traces2.sql index a27005ba..5bdc9474 100644 --- a/models/silver/core/silver__fact_traces2.sql +++ b/models/silver/core/silver__fact_traces2.sql @@ -5,11 +5,10 @@ incremental_predicates = [fsc_evm.standard_predicate()], cluster_by = "block_timestamp::date", post_hook = "ALTER TABLE {{ this }} ADD SEARCH OPTIMIZATION", - tags = ['traces_reload'], + tags = ['non_realtime'], full_refresh = false ) }} {{ fsc_evm.gold_traces_v1( full_reload_start_block = 5000000, - full_reload_blocks = 3000000, - full_reload_mode = true + full_reload_blocks = 3000000 ) }}