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

Add parser with type seed for creating tables with seed data #98

Open
medvedev1088 opened this issue May 21, 2020 · 0 comments
Open

Add parser with type seed for creating tables with seed data #98

medvedev1088 opened this issue May 21, 2020 · 0 comments

Comments

@medvedev1088
Copy link
Member

For some parsers contract_address is a static list of addresses which is duplicated in other definitions https://github.com/blockchain-etl/ethereum-etl-airflow/pull/94/files#diff-f0b9ae4effce038c22ca6abf7dfec316R28.

Similar to dbt we can have a table definition with seed parser:

{
  "parser": {
    "type": "seed",
    "header": ["address"],
    "data": [['0xa'], ['0xb']]
  }
}

Then it can be used as a reference in other table definitions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant