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
I've ran into a ValueError issue when attempting to run schema up on a database with too many alters applied. The for loop iterator attempting to check each alter_id errors out when the dict object is too large to iterate. The proposal here is to update these for loops on these dicts to utilize iteritems() (items() for python3) to get around the ValueError.
StackTrace:
Traceback (most recent call last):
File "/usr/bin/schema", line 95, in main
globals()[handler](context).run()
File "/usr/local/adnxs/schema-tool/schematool/command/up.py", line 67, in run
for (_, alter_id, _) in history:
ValueError: too many values to unpack
The text was updated successfully, but these errors were encountered:
I've ran into a ValueError issue when attempting to run
schema up
on a database with too many alters applied. The for loop iterator attempting to check eachalter_id
errors out when the dict object is too large to iterate. The proposal here is to update these for loops on these dicts to utilizeiteritems()
(items()
for python3) to get around the ValueError.StackTrace:
The text was updated successfully, but these errors were encountered: