laurolins / nanocube

Eclipse Public License 1.0
734 stars 162 forks source link

syntax errors timeout instead of failing #41

Open gordonwoodhull opened 8 years ago

gordonwoodhull commented 8 years ago

I'm generating my queries from a custom language, so I'm making a lot of syntax errors in my queries. Things like missing parentheses and extra parentheses.

Instead of getting an error, these queries wait for about a minute and then return an empty response. It would be more helpful for them to fail, even if they are not specific about the syntax error.

gordonwoodhull commented 8 years ago

Another example: I accidentally send floating-point numbers across, and it times out presumably due to a parse error.