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
Describe the bug
I cannot use any functions from the HCL when using a with element
Error: failed to load workspace: Internal Error: Failed to decode mod: local.table.dashboard_only_aws_anonymous_table_1 has invalid parameter config: unexpected runtime dependency expression type
Powerpipe version (powerpipe -v)
Example: v1.0.1
To reproduce
table {
title="test2"sql="select $1"args=[length(with.test.rows)] # using "with.test.rows[*].value" is the same
}
with"test" {
sql="select $1::text[] as value"args=[
[]
]
}
Run the above .pp
Expected behavior
It should work, and returns a value (in this case 0 as there is 0 rows)
Additional context
I tried length([]) and this works.
And i think the self.input.xxx also is not working with functions
The text was updated successfully, but these errors were encountered:
Describe the bug
I cannot use any functions from the HCL when using a with element
Error: failed to load workspace: Internal Error: Failed to decode mod: local.table.dashboard_only_aws_anonymous_table_1 has invalid parameter config: unexpected runtime dependency expression type
Powerpipe version (
powerpipe -v
)Example: v1.0.1
To reproduce
Run the above .pp
Expected behavior
It should work, and returns a value (in this case 0 as there is 0 rows)
Additional context
I tried
length([])
and this works.And i think the
self.input.xxx
also is not working with functionsThe text was updated successfully, but these errors were encountered: