Skip to content

Conversation

@asnare
Copy link
Contributor

@asnare asnare commented Jun 24, 2025

This PR updates some tests that were broken due to some breaking changes introduced in sqlglot 26.30.0 (tobymao/sqlglot#5240).

It also deals with some linting issues that appeared: newer versions of mypy are stricter, which meant updating some inaccurate type-hints and fixing various things that this exposed.

The fixes here address problems already present on main, and are currently blocking databrickslabs/blueprint#248 due to the downstream checks performance by the CI for blueprint.

@asnare asnare self-assigned this Jun 24, 2025
@asnare asnare added dependencies Pull requests that update a dependency file tech debt labels Jun 24, 2025
@asnare asnare added this to UCX Jun 24, 2025
@asnare asnare moved this to Ready for Review in UCX Jun 24, 2025
@asnare asnare requested review from a team, gueniai and sundarshankar89 June 24, 2025 11:30
@github-actions
Copy link

✅ 36/36 passed, 1 flaky, 4 skipped, 33m26s total

Flaky tests:

  • 🤪 test_dashboards_creates_dashboard_with_order_overwrite_in_query_header (10.004s)

Running from acceptance #502

Copy link
Collaborator

@sundarshankar89 sundarshankar89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@asnare
Copy link
Contributor Author

asnare commented Jun 24, 2025

Superseded by #409.

@asnare asnare closed this Jun 24, 2025
@github-project-automation github-project-automation bot moved this from Ready for Review to Done in UCX Jun 24, 2025
asnare added a commit that referenced this pull request Jun 25, 2025
The 26.30.0 release of sqlglot introduced a breaking change that affects
our tests; this PR is a quick-fix to prevent that version from being
used.

This PR also includes type-hinting fixes that newer versions of mypy
need, along with accompanying fixes for issues that the improved
type-hints expose.

For now this is intended to:

 - Unblock databrickslabs/blueprint#248.
 - Supersede #409.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file tech debt

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

None yet

3 participants