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

Excluding 'create_index' column breaks Contracts dataset (python) #221

Open
dreadedhamish opened this issue Jan 23, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@dreadedhamish
Copy link

Version
Python Package - 0.3.2
Python 3.12.7

Platform
Linux hamish-proliantml150gen9 6.12.4-1-MANJARO #1 SMP PREEMPT_DYNAMIC Mon, 09 Dec 2024 11:58:37 +0000 x86_64 GNU/Linux

Description
Using the Contracts dataset, if create_index is listed a column to exclude then the query will return zero results. Excluding any other column, or all other column, returns the full number of rows.

No excluded columns
exclude_columns=['']

  • rows written: 11

All excluded except create_index
exclude_columns=['init_code', 'code', 'n_init_code_bytes', 'n_code_bytes', 'code_hash', 'chain_id', 'init_code_hash'],

  • rows written: 11

Just create_index excluded
exclude_columns=['init_code_hash']

  • rows written: 0

This error appears in the summary:

error summary
─────────────
(errors in 4 chunks)

  • Failed to convert to DataFrame: not found: create_index (4x)
@dreadedhamish dreadedhamish added the bug Something isn't working label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant