Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update web_handlers.py #181

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

RhymesWith0range
Copy link

Hi, was trying to find how to handle LIKE statements in the SQL query via the REST API and came across your great library. I notice that you don't current have some code to parse SQL queries into a dataframe so have suggested some code...

Hi, was trying to find how to handle LIKE statements in the SQL query via the REST API and came across your great library. I notice that you don't current have some code to parse SQL queries into a dataframe so have suggested some code...
Added processing of SQL query to repalce tabs and new lines with spaces that are typical of formatted SQL queries.  Note that LIKE statments do not seem to be compatible with the requests. I suspect this is to do with the % symbol not being passed. See my Stack Overflow question https://stackoverflow.com/questions/76063389/percent-symbol-in-python-requests-causing-query-to-not-work?noredirect=1#comment134147387_76063389
@mortendaehli
Copy link
Contributor

Thank you for the contribution! We will add this feature before the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants