kaidaguerre
efbebd99ee
Decouple spinner display code from database and execution layer. Closes #1290
2022-01-06 11:54:18 +00:00
kai
67c446c2f0
Fix issue where service is not shutdown if interrupted while interactive prompt is initialising. #1004
2022-01-05 18:20:00 +00:00
Binaek Sarkar
990275c0a0
Fix issue where service is not shutdown if interrupted while interactive prompt is initialising. Closes #1004
2022-01-05 15:45:55 +00:00
kaidaguerre
e0ff19a280
Update package naming to be consistent and follow Go standards. Closes #1282
...
General code spring cleaning:
* move file paths from `consts` package to `filepaths`
* move InitData and ExportData to query and control packages
2022-01-04 12:28:36 +00:00
kaidaguerre
33f55e584f
Add support for mod management commands. Closes #442 . Closes #443
2021-12-21 14:10:00 +00:00
Binaek Sarkar
2a0be1dbf8
Fix issue where interactive prompt hangs if query is executed before init. Closes #1242
2021-12-17 10:53:48 +00:00
Binaek Sarkar
c7a7f61b7b
Fix issue where control from interactive autocomplete is not executing. Closes #1233
2021-12-14 12:34:58 +00:00
Binaek Sarkar
dad700b26c
Add context awareness in services and commands. Closes #1206 . Closes #1214 . Closes #1215
2021-12-09 14:02:19 +00:00
kaidaguerre
1fdfc02c34
Startup optimizations. Closes #1186 . Closes #1183 . Closes #1182
...
- Update connection management to use file modified time instead of filehash to detect connection changes
- Avoid retrieving schema from database for check and non-interactive query execution
- When retrieving plugin schema, identify the minimum set of schemas we need to fetch - to allow for multiple connections with the same schema
- Update plugin manager to instantiate plugins in parallel
2021-12-07 15:34:14 +00:00
kaidaguerre
ad3e6447c0
Add support for connecting to a remote database, andf for connecting to Stweampipe #1175
2021-11-24 16:44:26 +00:00
Binaek Sarkar
d55903d44b
Fixes issue where table names with special characters are not handled correctly in auto-complete and .inspect. Closes #1109
2021-11-24 13:52:01 +00:00
kaidaguerre
3bb4bf97d3
Create prepared statements one by one to allow accurate error reporting and reduce memory burden. Fix workspace file watching. Fix async error display. Close ##1148. Close #1152 . Close #1085
2021-11-21 10:53:33 +00:00
kaidaguerre
35a6fe9e34
Add support for connecting to a remote database client. Closes #908
2021-09-15 13:29:26 +01:00
kaidaguerre
7783b38cdd
Add prepared statement name column to steampipe_query and steampipe_control reflection tables. Closes #890
2021-09-13 11:54:49 +01:00
kai
f0d4af270d
query parse error puts interactive console in a bad state. Closes #880
2021-09-13 10:49:30 +01:00
kaidaguerre
93e714124e
In batch query mode, only create prepared statements which are required. Closes #866
2021-09-08 12:41:28 +01:00
Binaek Sarkar
df60c088dd
Fix for history persistence of empty strings. Closes #850 ( #851 )
...
* func rename
* do not store to history if blank
* update comments
Co-authored-by: kaidaguerre <kai@turbot.com >
2021-09-07 10:14:13 +01:00
kaidaguerre
1f0ae2bbe9
Errors in async init are not reported in interactive client if a query is entered before init is complete. Closes #843
2021-09-03 16:56:18 +01:00
kai
3cc5222fb8
improve error reporting for failure to parse params
2021-09-02 21:34:48 +01:00
kai
b0060b910d
ignore error parsing a prepared statement - just treat query as raw sql
2021-09-02 21:34:48 +01:00
kai
7ef20e443a
ignore error parsing a prepared statement - just treat query as raw sql
2021-09-02 21:34:48 +01:00
kai
01e7392c3d
show error for failed param parse. Handle no params passed.
2021-09-02 21:34:46 +01:00
kai
95ad504cd7
fix interactive param parsing
2021-09-02 21:34:43 +01:00
kai
6f605ffccd
refactor parsing
2021-09-02 21:34:43 +01:00
kai
1fe09ccf07
InitiaL implementation - no named params or defaults
2021-09-02 21:34:43 +01:00
Binaek Sarkar
f8e0bd1e7e
Add support for terminal mode detection for syntax highlighting. Closes #804 . Closes #744
2021-08-26 15:01:02 +01:00
Binaek Sarkar
8110140d33
Persist syntax highlighting after query is executed. Closes #746
2021-08-24 13:01:12 +01:00
Binaek Sarkar
75f30a5ade
Fix for disappearing prompt after updating FDW in interactive mode. Closes #785
2021-08-18 16:21:22 +01:00
kaidaguerre
9b941ecdcf
Add support for variables. Closes #754
2021-08-06 11:10:53 +01:00
Binaek Sarkar
462ad69dc0
Fix issue where prompt disappears if any messages are shown. Closes #713
2021-08-05 15:10:11 +01:00
Binaek Sarkar
aa62e99790
Fix for spinner not getting shown if interactive prompt is waiting for init to finish before query. Closes #671
2021-08-05 14:16:02 +01:00
Binaek Sarkar
7df78a9ac7
Add support for syntax highlighting in interactive prompt. Closes #64
2021-08-03 16:20:25 +01:00
Binaek Sarkar
9fc27bdb6c
Add support for controlling the fdw cache from the interactive prompt. Closes #688
2021-08-03 15:21:18 +01:00
kaidaguerre
f9e5a8d10c
Fix errors during async interactive startup leaving the prompt in a bad state. Refactor the ResultsStreamer to avoid needing to call Done() before restarting the prompt. Closes #716 . Closes #728
2021-08-02 17:05:43 +01:00
kaidaguerre
9f35a35207
Fix interactive console becoming unresponsive after semicolon query. Closes #700
2021-07-29 18:37:03 +01:00
kaidaguerre
b7aa42ceb3
Refactor service code to make it simpler to support external database connections. Closes #696
2021-07-26 17:07:28 +01:00