You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shovel attempts to create indexes with identical names (shovel_block_num and shovel_transaction_hash) across both tables, resulting in index creation failures in one of the table
The text was updated successfully, but these errors were encountered:
Thanks for reporting. This is tricky to fix because shovel would need to take into account a new index naming scheme to avoid creating duplicate indexes with different names.
Not sure when I will fix this.
In the meantime you can create indexes manually.
ryandotsmith
changed the title
bug(shovel): Index name collision
duplicate index names
Dec 27, 2024
Shovel version
af07
introduces tableindex
field, which enhances query performance.However, there's a limitation in the current implementation where specifying only column names as parameters can cause silent index creation failures.
For example, when defining two tables with similar index configurations:
Shovel attempts to create indexes with identical names (
shovel_block_num
andshovel_transaction_hash
) across both tables, resulting in index creation failures in one of the tableThe text was updated successfully, but these errors were encountered: