When working on index-digest's PR I have found the following issue.
An example call:
tables = get_query_tables("/* foo */ INSERT IGNORE INTO `0070_insert_ignore` VALUES (9, '123', '2017-01-01');")
Error raised:
/* foo */ INSERT IGNORE INTO `0070_insert_ignore` VALUES (9, '123', '2017-01-01');
if self._query_type == "UNSUPPORTED":
> raise ValueError("Not supported query type!")
E ValueError: Not supported query type!
env/lib/python3.9/site-packages/sql_metadata/parser.py:94: ValueError
Additionally, we should also log the query itself that caused this exception to be raised.
When working on index-digest's PR I have found the following issue.
An example call:
Error raised:
Additionally, we should also log the query itself that caused this exception to be raised.