cockroachdb / cockroachdb/cockroach

The CC Console’s SQL Shell does not retain previously executed SQL statements.

Open
#148,354 0 comments 0 reactions 0 assignees View on GitHub
C-enhancement
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

**Is your feature request related to a problem? Please describe.**
The CC Console’s SQL Shell does not retain previously executed SQL statements. As a result, once a user logs out and then logs back in, all prior command history is wiped.

**Describe the solution you'd like**
The SQL Shell should persist the history of all executed SQL statements even after relogin.

**Describe alternatives you've considered**
n/a

**Additional context**
Steps to Reproduce:
1. Sign in via SSO.
2. Execute one or more SQL queries on any cloud cluster using the CC Console’s SQL Shell.
3. Log out and then log back in.
4. Observe that the SQL Shell’s history no longer includes the commands run before logout.

Jira issue: CRDB-51564

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.