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

BUG FIX: String type columns typecasted as number #152

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hardikbajaj
Copy link

Issue

The column type is inferred in grafana plugin, by looking at the row values. So If a string type column which have all the column values as number digits, is treated as number in the plugin. This effects the alerting and overall experience for user.

"id" is of type string but have number values

Screenshot 2023-03-24 at 3 20 14 PM

Grafana druid treating the column as number

Screenshot 2023-03-24 at 3 20 29 PM

Fix

This can be fixed as from druid client, strings come in "" (double quotes)
Screenshot 2023-03-24 at 3 28 08 PM

@hardikbajaj hardikbajaj changed the title BUG FIZ: String type columns typecasted as number BUG FIX: String type columns typecasted as number Mar 24, 2023
@hardikbajaj hardikbajaj marked this pull request as draft April 26, 2023 09:44
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.

1 participant