The "substitute_in_query" method should substitute parameters in SQL queries but it does not.
The problem seems to be in line 36 of the _drillapi.py file:
"query.replace('?', param, 1)" . The replace method returns a new string, it does not modify the original one. This causes the method to return the original query, without modifying the original string.
The "substitute_in_query" method should substitute parameters in SQL queries but it does not. The problem seems to be in line 36 of the _drillapi.py file: "query.replace('?', param, 1)" . The replace method returns a new string, it does not modify the original one. This causes the method to return the original query, without modifying the original string.
sqlalchemy-drill version is 1.1.2