From 4b01ea83941199538068d386f1a04c6831c6d12f Mon Sep 17 00:00:00 2001 From: misraved Date: Thu, 28 Dec 2023 13:27:18 +0530 Subject: [PATCH] Fix the introspection query in Key Column Qualifiers doc page --- docs/guides/key-columns.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guides/key-columns.md b/docs/guides/key-columns.md index 2da9192..23fa3fa 100644 --- a/docs/guides/key-columns.md +++ b/docs/guides/key-columns.md @@ -138,13 +138,13 @@ If you are running the Steampipe CLI, you can get the key column information fro select name, type, - (get_config || list_config) -> 'operators' as operators, + (coalesce(get_config, '{}') || coalesce(list_config, '{}')) -> 'operators' as operators, coalesce((get_config || list_config) ->> 'require', 'optional') as required from steampipe_plugin_column where - (get_config || list_config) -> 'operators' is not null - and table_name = 'aws_vpc' ; + (coalesce(get_config, '{}') || coalesce(list_config, '{}')) -> 'operators' is not null + and table_name = 'aws_vpc'; ``` ```sql