yhat / pandasql

sqldf for pandas
MIT License
1.31k stars 184 forks source link

More descriptive exceptions? #93

Open jmtekin opened 2 years ago

jmtekin commented 2 years ago

I want my program to only error on sql syntax errors however it also errors on empty queries, non existent columns, rows, ids, etc. The best solution to this would be to use try except, however the exceptions aren't descriptive enough for that to work.

I feel like better exceptions might solve other, unforeseen problems as well so maybe its something that should be improved?