dify icon indicating copy to clipboard operation
dify copied to clipboard

fix: Resolve errors in SQL queries caused by SELECT fields not appearing in the GROUP BY clause.

Open Jam804 opened this issue 9 months ago • 0 comments

Summary

fix: Resolve errors in SQL queries caused by SELECT fields not appearing in the GROUP BY clause.

In SQL queries, errors occur when SELECT fields do not appear in the GROUP BY clause.

Screenshots

image

Checklist

[!IMPORTANT]
Please review the checklist below before submitting your pull request.

  • [x] This change requires a documentation update, included: Dify Document
  • [√] I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • [√] I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • [x] I've updated the documentation accordingly.
  • [√] I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods

Jam804 avatar Mar 12 '25 13:03 Jam804