Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sample query compatible with views #50437

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

rodireich
Copy link
Contributor

@rodireich rodireich commented Dec 28, 2024

What

One part of the table sample query was returning a null for a view, which is chosen as the GREATEST by another part of the query, leading to incorrect identification of an empty table.

How

Ensuring that a view is sampled correctly by using mysql's COALESCE() function.

User Impact

Views should be read correctly. A refresh of a view stream us recommended.

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

@rodireich rodireich linked an issue Dec 28, 2024 that may be closed by this pull request
1 task
Copy link

vercel bot commented Dec 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 30, 2024 6:17am

@rodireich rodireich marked this pull request as ready for review December 28, 2024 08:10
@rodireich rodireich requested a review from a team as a code owner December 28, 2024 08:10
@@ -9,7 +9,7 @@ data:
connectorSubtype: database
connectorType: source
definitionId: 435bb9a5-7887-4809-aa58-28c27df0d7ad
dockerImageTag: 3.10.0-rc.4
Copy link
Contributor

Choose a reason for hiding this comment

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

i wondered why did we use rc tag in the previous version.. we could just use the minor version ...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@marius was running a progressive rollout right before the break for a datatype conversion fixes (49918).
I'll make sure this isn't conflicting with the rollout before merging my change.

Copy link
Contributor

Choose a reason for hiding this comment

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

yes, this is why

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/mysql
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[source-mysql] 3.9.0-rc.25 doesn't import view table anymore
4 participants