Hacker News new | ask | show | jobs
by aerzen 787 days ago
This should instead be something like this:

    SQL Error (1064):
      20 |
      21 |  ...ROM my_table JOIN other_table ON GROUP BY
      22 |                                      ^^^^^

This should not be hard. Both MySQL and Postgres do have the span of the parsing error and they do have the original query somewhere.