turbot / steampipe-plugin-alicloud

Use SQL to instantly query Alibaba Cloud resources across regions and accounts. Open source CLI. No DB required.
https://hub.steampipe.io/plugins/turbot/alicloud
Apache License 2.0
12 stars 5 forks source link

Fixed Issue querying ACK table when no tags set on cluster Closes #425 #426

Closed ParthaI closed 2 months ago

ParthaI commented 2 months ago

Integration test logs

Logs ``` Add passing integration test logs here ```

Example query results

Results ``` Add example SQL query results here (please include the input queries as well) ```
misraved commented 2 months ago

@ParthaI is it possible to use an inbuilt Transform function to check if the value of tags is null or not?

ParthaI commented 2 months ago

@misraved, while we have the transform function transform.NullIfZeroValue(), it's unnecessary to employ it in this scenario. Regardless of whether the value is null or not, we need to invoke the transform function csKubernetesClusterAkaTagsToMap. The null check should reside within the csKubernetesClusterAkaTagsToMap function.