Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OTSea DEX on Base #7509

Merged
merged 7 commits into from
Jan 23, 2025
Merged

OTSea DEX on Base #7509

merged 7 commits into from
Jan 23, 2025

Conversation

PatelPrinci
Copy link
Contributor

Thank you for contributing to Spellbook 🪄

Please open the PR in draft and mark as ready when you want to request a review.

Description:

[...]


quick links for more information:

@github-actions github-actions bot marked this pull request as draft January 21, 2025 11:18
@github-actions github-actions bot added WIP work in progress dbt: dex covers the DEX dbt subproject dbt: hourly covers the hourly dbt subproject labels Jan 21, 2025
@PatelPrinci PatelPrinci marked this pull request as ready for review January 21, 2025 11:59
@github-actions github-actions bot added ready-for-review this PR development is complete, please review and removed WIP work in progress labels Jan 21, 2025
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can recover this file in this PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want me to revert to the state before this file was changed and start from there, or proceed with the current changes in this PR?

@@ -1042,6 +1042,23 @@ models:
- check_dex_base_trades_seed:
seed_file: ref('akronswap_base_base_trades_seed')

- name: otsea_base_base_trades
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remember to add otsea_base_base_trades into dex_base_base_trades.

@Hosuke Hosuke self-assigned this Jan 21, 2025
@jeff-dude jeff-dude added WIP work in progress in review Assignee is currently reviewing the PR and removed ready-for-review this PR development is complete, please review dbt: hourly covers the hourly dbt subproject labels Jan 21, 2025
@github-actions github-actions bot added the dbt: hourly covers the hourly dbt subproject label Jan 22, 2025
Copy link
Collaborator

@Hosuke Hosuke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

materialized = 'incremental',
file_format = 'delta',
incremental_strategy = 'merge',
unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index']
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to make sure the unique_key match the key in the uniqueness test:

Suggested change
unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index']
unique_key = ['tx_hash', 'evt_index']

@Hosuke Hosuke added ready-for-merging and removed WIP work in progress in review Assignee is currently reviewing the PR dbt: hourly covers the hourly dbt subproject labels Jan 23, 2025
@Hosuke
Copy link
Collaborator

Hosuke commented Jan 23, 2025

Please run git merge main as well.

@jeff-dude jeff-dude merged commit 87ba043 into duneanalytics:main Jan 23, 2025
5 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dbt: dex covers the DEX dbt subproject ready-for-merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants