github.com/turbot/steampipe@v1.7.0-rc.0.0.20240517123944-7cef272d4458/tests/acceptance/test_data/templates/expected_introspection_info_query.json (about) 1 { 2 "rows": [ 3 { 4 "args": null, 5 "auto_generated": false, 6 "description": "query 1 - 3 params all with defaults", 7 "documentation": null, 8 "end_line_number": 23, 9 "is_anonymous": false, 10 "mod_name": "introspection_table_mod", 11 "params": [ 12 { 13 "default": "steampipe_var", 14 "description": "p1", 15 "name": "p1" 16 }, 17 { 18 "default": "because_def ", 19 "description": "p2", 20 "name": "p2" 21 }, 22 { 23 "default": "string", 24 "description": "p3", 25 "name": "p3" 26 } 27 ], 28 "path": [ 29 [ 30 "mod.introspection_table_mod", 31 "introspection_table_mod.query.sample_query_1" 32 ] 33 ], 34 "qualified_name": "introspection_table_mod.query.sample_query_1", 35 "resource_name": "sample_query_1", 36 "source_definition": "query \"sample_query_1\"{\n\ttitle =\"Sample query 1\"\n\tdescription = \"query 1 - 3 params all with defaults\"\n\tsql = \"select 'ok' as status, 'steampipe' as resource, concat($1::text, $2::text, $3::text) as reason\"\n\tparam \"p1\"{\n\t\t\tdescription = \"p1\"\n\t\t\tdefault = var.sample_var_1\n\t}\n\tparam \"p2\"{\n\t\t\tdescription = \"p2\"\n\t\t\tdefault = \"because_def \"\n\t}\n\tparam \"p3\"{\n\t\t\tdescription = \"p3\"\n\t\t\tdefault = \"string\"\n\t}\n}", 37 "sql": "select 'ok' as status, 'steampipe' as resource, concat($1::text, $2::text, $3::text) as reason", 38 "start_line_number": 7, 39 "tags": null, 40 "title": "Sample query 1" 41 } 42 ], 43 "metadata": { 44 "Duration": 311375, 45 "scans": [], 46 "rows_returned": 1, 47 "rows_fetched": 0, 48 "hydrate_calls": 0 49 } 50 } 51