RamiAwar / dataline

Chat with your data - AI data analysis and visualization on CSV, Postgres, MySQL, Snowflake, SQLite...
https://dataline.app
GNU General Public License v3.0
129 stars 6 forks source link

Failed queries provide no feedback or SQL code #221

Open RamiAwar opened 2 weeks ago

RamiAwar commented 2 weeks ago

Even though SQL is generated behind the scenes, if a query run fails to execute, no SQL is returned to the frontend.

That's not optimal:

  1. doesn't give a chance for users to correct the query
  2. user doesn't see what's going on
  3. slows down the response time quite a bit (specially with remote DB connections that are already super slow), we could be returning SQL a lot sooner

I think we should think about the 'remove result' pattern again @anthony2261

image