And has been failing since this change. Testing locally, reverting to sqlite work. Looking at gdal docs the SQLDialect option in VectorTranslate might only support the native "OGR SQL" and sqlite. So it might just be falling back to ogr which might not support group by clauses? Running with ogr sql has same error as when specifying postgresql.
This is a tough one to google.
@damonmcc I think it'd be best to just revert that line to sqlite
Closes #398 and adds test for a sql group by statement in vector translate
Copying text from issue: