Closed genghisken closed 7 months ago
It gets more problematic. It looks like pymysql is what is reformatting the query string. There's a repr()
call which preserves the formatting, but I don't know how to use it.
This was a 'fundamentals' issue. I fixed the 'insert_list_of_dictionaries_into_database_tables' class for MySQL 8.
Sherlock is currently incompatible with MySQL 8.0. They introduced
rank
as a reserved word in 8.0.2. The fix is to backquote the word.Although I tried an in-situ fix, it looks like some other downstream code (e.g. in fundamentals) is working against me and removing the backquotes once more. Hence the query fails.