You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optional key columns are not working in the List hydrate call when passed in the query.
In SDK v5, we are using plugin.QueryData.EqualsQuals instead of plugin.QueryData.KeyColumnQuals to fetch optional column value. But EqualsQuals is unable to fetch value in the List hydrate call. However, in Get hydrate call it is working fine.
Facing the issue in the Kubernetes plugin, already updated in SDK v5.
To Reproduce -
Need to put a logger in the list function like below -
plugin.Logger(ctx).Error("Optional key value:", d.EqualsQuals["phase"].GetStringValue())
make
select * from kubernetes_pod where phase = 'Running' (phase is an optional column in List hydrate)
check in the plugin log file if it logs the value.
The text was updated successfully, but these errors were encountered:
Optional key columns are not working in the List hydrate call when passed in the query.
In SDK v5, we are using plugin.QueryData.EqualsQuals instead of plugin.QueryData.KeyColumnQuals to fetch optional column value. But EqualsQuals is unable to fetch value in the List hydrate call. However, in Get hydrate call it is working fine.
Facing the issue in the Kubernetes plugin, already updated in SDK v5.
To Reproduce -
plugin.Logger(ctx).Error("Optional key value:", d.EqualsQuals["phase"].GetStringValue())
The text was updated successfully, but these errors were encountered: