Closed igorpojzl closed 4 years ago
@pyrooka May i ask why we were stringify native query in Execute Query? And what purpose had that IF Condition?
I guess that is just a leftover from the early stages. If the driver works well without that it can be removed.
Description of Changes Made (if issue reference is not provided)
Moved JSON stringify from function
execute-http-request
to functiondriver/mbql->native
so Metabase will support View the Sql when asking questions instead of empty.Also removed IF condition which checked if old mbql query is not empty and returning empty rows. This need to be tested if there is not any hidden bugs after removing this check.