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
After executing certain multi-line queries cause the query to jump to the last line of output before your query.
Expected Outcome
If I execute a query such as this, the output is as expected - the query is displayed as entered and the result is displayed below:
> select name
from aws_iam_role
where arn = 'arn:aws:iam::012345678901:role/turbot/acm_admin'
and region = 'global'
and permissions_boundary_type = 'Policy';
+-----------+
| NAME |
+-----------+
| acm_admin |
+-----------+
Actual Outcome
...however if I paste in the following query for a table I'm working on, then after executing it, the first line of the query is displayed at the end of the previous line of output in the terminal.
So if I enter:
> select result
from aws_iam_policy_simulator
where principal_arn = 'arn:aws:iam::012345678901:user/mike'
and action = 's3:CreateBucket'
and resource_arn = '*';
...after submitting I see this:
+-----------+
| acm_admin |
+-----------+ > select result
from aws_iam_policy_simulator
where principal_arn = 'arn:aws:iam::012345678901:user/mike'
and action = 's3:CreateBucket'
and resource_arn = '*';
+-------------------------------------------------------------------------------------------------------------------------------------------------------------
| RESULT
+-------------------------------------------------------------------------------------------------------------------------------------------------------------
| ...
+-------------------------------------------------------------------------------------------------------------------------------------------------------------
Video below illustrating the issue also:
Screen.Recording.2021-01-29.at.12.09.11.mov
Env
CLI: 0.1.0
OS: macOS Big Sur 11.1
Terminal: iTerm 3.4.3 / zsh
The text was updated successfully, but these errors were encountered:
select
r.name as release_name,
sum((a -> 'download_count')::int) as download_count
from
github_release as r,
jsonb_array_elements(assets) as a
where
r.repository_full_name = 'turbot/steampipe'
and a ->> 'content_type' = 'application/zip'
group by
release_name
order by
download_count desc;
Issue
After executing certain multi-line queries cause the query to jump to the last line of output before your query.
Expected Outcome
If I execute a query such as this, the output is as expected - the query is displayed as entered and the result is displayed below:
Actual Outcome
...however if I paste in the following query for a table I'm working on, then after executing it, the first line of the query is displayed at the end of the previous line of output in the terminal.
So if I enter:
...after submitting I see this:
Video below illustrating the issue also:
Screen.Recording.2021-01-29.at.12.09.11.mov
Env
CLI:
0.1.0
OS:
macOS Big Sur 11.1
Terminal:
iTerm 3.4.3
/zsh
The text was updated successfully, but these errors were encountered: