Repository navigation
[2.0] Fixes 36880: Make the Athena connection workgroup optional (#36881) - #37038
Conversation
* fix(athena): make the connection workgroup optional The workgroup field was required, so the UI could never save it empty and usage/lineage could not reach the "read every enabled workgroup" path that 2.0.6 kept for an empty workgroup. Left empty, the connection now runs its queries in the default workgroup and query history is read from every enabled workgroup. * test(athena): keep covering the empty-string workgroup that API/YAML configs hold * Update generated TypeScript types and dereferenced schemas * chore(playwright): auto-refresh impact-map.generated.json --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> (cherry picked from commit 265b62f)
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
Code Review ✅ Approved🟡 Medium risk · Making Athena workgroup optional runs queries in primary and reads all enabled workgroup histories, which could broaden imported usage and lineage data. Makes the Athena connection VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|
|
Khairajani
left a comment
There was a problem hiding this comment.
LGTM. Needs the skip-pr-checks label for the metadata check on 2.0.



Backport of #36881 to
2.0(cherry-picked with-xfrom 265b62f).Fixes #36880: makes the Athena connection
workgroupoptional. When it's unset, queries run in the default workgroup and query history is read from every enabled workgroup.Differences from the main PR
public/jsons/connectionSchemas/andsrc/jsons/ingestionSchemas/, because2.0doesn't track them.2.0,connection.pyandquery_parser.pyalready treat a falsy workgroup as unset.Testing
2.0.workgroupis nowstr | None = None.pytest tests/unit/source/database/athena: 54 passed.ruff check/ruff format --checkpass on the changed tests.🤖 Generated with Claude Code