Skip to content

Commit ac23da2

Browse files
authored
Expose erc20 transfers as a table, not view (#1258)
Brief comments on the purpose of your changes: *For Dune Engine V2* I've checked that: * [ ] I tested the query on dune.com after compiling the model with dbt compile (compiled queries are written to the target directory) * [ ] I used "refs" to reference other models in this repo and "sources" to reference raw or decoded tables * [ ] if adding a new model, I added a test * [ ] the filename is unique and ends with .sql * [ ] each sql file is a select statement and has only one view, table or function defined * [ ] column names are `lowercase_snake_cased` When you are ready for a review, tag duneanalytics/data-experience. We will re-open your forked pull request as an internal pull request. Then your spells will run in dbt and the logs will be avaiable in Github Actions DBT Slim CI. This job will only run the models and tests changed by your PR compared to the production project.
1 parent d71ba02 commit ac23da2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spellbook/macros/alter_table_properties.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ ALTER VIEW tokens_ethereum.erc20 SET TBLPROPERTIES ('dune.public'='true',
146146
{% endset %}
147147

148148
{% set transfers_ethereum_erc20 %}
149-
ALTER VIEW transfers_ethereum.erc20 SET TBLPROPERTIES('dune.public'='true',
149+
ALTER TABLE transfers_ethereum.erc20 SET TBLPROPERTIES('dune.public'='true',
150150
'dune.data_explorer.blockchains'='["ethereum"]',
151151
'dune.data_explorer.category'='abstraction',
152152
'dune.data_explorer.abstraction.type'='sector',

0 commit comments

Comments
 (0)