-
Notifications
You must be signed in to change notification settings - Fork 73
Migrate interop ETL tasks from transforms to blockbatch daily #1578
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 9 out of 21 changed files in this pull request and generated 2 comments.
Files not reviewed (12)
- src/op_analytics/datapipeline/etl/blockbatchloaddaily/ddl/transforms_interop/dim_erc20_first_seen_v1__INSERT.sql: Language not supported
- src/op_analytics/datapipeline/etl/blockbatchloaddaily/ddl/transforms_interop/dim_erc20_ntt_first_seen_v1__INSERT.sql: Language not supported
- src/op_analytics/datapipeline/etl/blockbatchloaddaily/ddl/transforms_interop/dim_erc20_oft_first_seen_v1__INSERT.sql: Language not supported
- src/op_analytics/datapipeline/etl/blockbatchloaddaily/ddl/transforms_interop/fact_erc20_ntt_transfers_v1__INSERT.sql: Language not supported
- src/op_analytics/datapipeline/etl/blockbatchloaddaily/ddl/transforms_interop/fact_erc20_oft_transfers_v1__INSERT.sql: Language not supported
- src/op_analytics/transforms/interop/create/fact_ntt_delivery_events_v1.sql: Language not supported
- src/op_analytics/transforms/interop/create/fact_oft_sent_events_v1.sql: Language not supported
- tests/op_analytics/datapipeline/etl/blockbatchloaddaily/rendered/transforms_interop/dim_erc20_first_seen_v1.sql: Language not supported
- tests/op_analytics/datapipeline/etl/blockbatchloaddaily/rendered/transforms_interop/dim_erc20_ntt_first_seen_v1.sql: Language not supported
- tests/op_analytics/datapipeline/etl/blockbatchloaddaily/rendered/transforms_interop/dim_erc20_oft_first_seen_v1.sql: Language not supported
- tests/op_analytics/datapipeline/etl/blockbatchloaddaily/rendered/transforms_interop/fact_erc20_ntt_transfers_v1.sql: Language not supported
- tests/op_analytics/datapipeline/etl/blockbatchloaddaily/rendered/transforms_interop/fact_erc20_oft_transfers_v1.sql: Language not supported
src/op_analytics/datapipeline/etl/blockbatchloaddaily/loadspec_datechain.py
Outdated
Show resolved
Hide resolved
|
||
INTEROP_NTT_TRANSFERS = ClickHouseDateChainETL( | ||
output_root_path="transforms_interop/fact_erc20_ntt_transfers_v1", | ||
inputs_blockbatch=[RAW_LOGS], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any difference between this line 101 and 107 for inputs path?
SELECT | ||
* | ||
FROM transforms_interop.fact_erc20_ntt_transfers_v1 | ||
WHERE dt = '2025-01-01' AND chain = 'base' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A bit confused on this part, but wonder why the dt and chain is set to base only on 2025-01-01?
SELECT | ||
* | ||
FROM transforms_interop.fact_erc20_oft_transfers_v1 | ||
WHERE dt = '2025-01-01' AND chain = 'base' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
SELECT | ||
* | ||
FROM blockbatch.token_transfers__erc20_transfers_v1 | ||
WHERE dt = '2025-01-01' AND chain = 'base' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and here
SELECT | ||
* | ||
FROM blockbatch.token_transfers__erc20_transfers_v1 | ||
WHERE dt = '2025-01-01' AND chain = 'base' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and this part as well
Description
Tests
Additional context
Metadata