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
Writing a plugin with a custom hydrate functions, leads to the hydrate-function silently not being called if there are two underscores in the column-name. There is no error logged, I just found this via trial and error
The sample above works, but steampipe is extremely picky about either the function name or the column name and silently swallows the error.
The columns just remains empty.
jenkinsfile_contents with HydrateJenkinsfileContentsRow{JenkinsfileContents: *content} works
jenkins_file_contents with HydrateJenkinsFileContentsRow{JenkinsFileContents: *content} does not work
Expected behavior
Log an error if the column-name does not match the hydrate-function/data instead of just not providing data.
Or make the matching algorithm handle multiple underscores.
The text was updated successfully, but these errors were encountered:
Describe the bug
Writing a plugin with a custom hydrate functions, leads to the hydrate-function silently not being called if there are two underscores in the column-name. There is no error logged, I just found this via trial and error
Steampipe version (
steampipe -v
)Example: v1.0.3
To reproduce
The sample above works, but steampipe is extremely picky about either the function name or the column name and silently swallows the error.
The columns just remains empty.
jenkinsfile_contents
withHydrateJenkinsfileContentsRow{JenkinsfileContents: *content}
worksjenkins_file_contents
withHydrateJenkinsFileContentsRow{JenkinsFileContents: *content}
does not workExpected behavior
Log an error if the column-name does not match the hydrate-function/data instead of just not providing data.
Or make the matching algorithm handle multiple underscores.
The text was updated successfully, but these errors were encountered: