Commit Graph

15 Commits

Author SHA1 Message Date
kaidaguerre
07782a2b13 Adds support for verbose timing information. Closes #4237. Closes #4244
- JSON output format has changed to move the rows to under a `rows` property, with timing information under the `metadata` property
- Update timing display to show rows returned and rows fetched, as well as adding verbose mode which lists all scans
- Use enums for output mode and timing mode - timing is now either `on`, `off` or `verbose`
- Bugfix: ensure error is returned from ExecuteSystemClientCall. Closes #4246
2024-04-17 10:12:17 +01:00
kaidaguerre
e6e9714e4c Update all ErrorAndWarnings function returns to pass by value, removing possibility of nil ErrorAndWarnings. Closes #3974 (#4212) 2024-03-21 11:46:10 +00:00
Binaek Sarkar
bd9fce7153 Fixes issue where using any meta command would load connection state even if not required. Closes #3614 2024-01-08 10:18:15 +00:00
Puskar Basu
6aaf9bc5be Update 'sperr' import references. Closes #3748 2023-08-17 13:52:04 +05:30
Binaek Sarkar
72323ef37a Merge branch 'v0.20.x' 2023-08-09 17:48:09 +05:30
Binaek Sarkar
854819f8f1 Validates workspace profile cache settings. Closes #3646 2023-07-14 13:22:08 +01:00
Binaek Sarkar
d807c9c093 Fixes issue where CAPITAL arguments to '.cache' meta command were not getting recognised. Closes #3670 2023-07-13 15:37:48 +01:00
kaidaguerre
b06348757a Fix linting warnings
---------

Co-authored-by: Binaek Sarkar <binaek@turbot.com>
Co-authored-by: Puskar Basu <puskar@turbot.com>
2023-07-06 16:08:23 +01:00
Binaek Sarkar
120999a374 Adds feature where type '.cache' in interactive shows the current value of cache. Closes #2439 2023-07-04 16:02:52 +01:00
kai
8ec8c76907 Fix .connection meta-command in interactive returning an empty table #3449 2023-05-18 14:56:24 +01:00
kai
3b1e99182a Replace all '...' with ellipsis … in terminal output. Closes #3441 2023-05-18 10:41:27 +01:00
kai
f7be761c5c Fix NRE when inspecting introspection tables. Closes #3440 2023-05-18 10:34:51 +01:00
kaidaguerre
5fdf6920cf Add support for connecting to a steampipe server which does not have connection state table (i.e. it is a pre v0.20.0 version). Closes #3414 2023-05-16 17:15:13 +01:00
kaidaguerre
b0b2c62338 Add support for 'import_schema' property in connection config, controlling whether to create a postgres schema for a steampipe connection. Closes #3407
Rename 'connection_state' table to 'steampipe_connection_state'. #3403
Rename 'internal' table to 'steampipe_internal
Remove 'Connection' property from ConnectionState
2023-05-15 13:07:36 +01:00
kaidaguerre
40804a3201 Execute RefreshConnections asyncronously and optimise for high connection count. Add connection_state table.
- Execute RefreshConnections asyncronously
- Add connection_state table to indicate the loading state of connections
- Optimise RefreshConnections by cloning connection schemas
- Add locking to ensure only a single instance of RefreshConnections runs
- Start executing queries without waiting for connections to load, add smart error handling to wait for required connection
- Optimise autocomplete for high connection count
- Autocomplete and inspect data available before all conections are refreshed
- Update file watcher to respond to CHMOD, so thaat it pickes up deletion of file contents

 Closes #3394
 Closes #3267
2023-05-10 09:05:08 +01:00