Open ashishkurian opened 4 months ago
Hi @ashishkurian, thanks for raising this. We will take a look!
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
Describe the bug Donut chart not rendering as expected when the group by variable is a boolean
Powerpipe version (
powerpipe -v
) Powerpipe v0.4.0To reproduce
I am using the below chart definition to create a chart. Howver, it is not producing the expected result.
chart { type = "donut" width = 2 title = "RDS Multi AZ" sql = <<-EOT select multi_az, count(*) from iaws_all.aws_rds_db_instance group by multi_az; EOT }
However, if I use the same chart but on another variable with the value of string type, it produces the expected result.
chart { type = "donut" width = 2 title = "EBS Volume type" sql = <<-EOT select volume_type, count(*) from iaws_all.aws_ebs_volume group by volume_type EOT }
If I change the chart type to bar or column type, it produces the expected result
Expected behavior A clear and concise description of what you expected to happen.
Additional context Add any other context about the problem here.