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

fix: isStringType for Nullable(String) and FixedString(N) (#830) #837

Merged
merged 3 commits into from
May 23, 2024

Conversation

SpencerTorres
Copy link
Collaborator

@SpencerTorres SpencerTorres commented May 17, 2024

Fixes #830

The IN operator was broken because the column type was Nullabe(String) instead of String.

  • Fixed issue
  • added tests for String, Nullable(String), and FixedString, LowCardinality(Nullable(String)), LowCardinality(String), etc.
  • Updated changelog

Copy link
Contributor

@adamyeats adamyeats left a comment

Choose a reason for hiding this comment

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

Thanks @SpencerTorres , just one comment from me, and also please rebase/merge this branch! 🙏

src/data/sqlGenerator.ts Outdated Show resolved Hide resolved
@adamyeats
Copy link
Contributor

🚀

@adamyeats adamyeats merged commit 30272a6 into grafana:main May 23, 2024
16 checks passed
@SpencerTorres SpencerTorres deleted the issue-830 branch May 23, 2024 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IN operator not correctly constructed in Query Builder Filter
2 participants