Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli/sql: properly format different times and floats #62310

Merged
merged 1 commit into from
Mar 22, 2021

Conversation

knz
Copy link
Contributor

@knz knz commented Mar 20, 2021

Fixes #29044.

Prior to this patch, the SQL shell would improperly format
variants of timestamps (time, date) and mistakenly
use the same format for 32-bit and 64-bit float.
This patch corrects this.

Release note (cli change): The SQL shell (cockroach demo, cockroach sql) now attempts to better format values that are akin to time/date,
as well as floating-point numbers.

Prior to this patch, the SQL shell would improperly format
variants of timestamps (time, date) and mistakenly
use the same format for 32-bit and 64-bit float.
This patch corrects this.

Release note (cli change): The SQL shell (`cockroach demo`, `cockroach
sql`) now attempts to better format values that are akin to time/date,
as well as floating-point numbers.
@knz knz requested review from otan and arulajmani March 20, 2021 16:16
@knz knz requested a review from a team as a code owner March 20, 2021 16:16
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@knz
Copy link
Contributor Author

knz commented Mar 22, 2021

thanks!

bors r=otan,stevendanna

@craig
Copy link
Contributor

craig bot commented Mar 22, 2021

Build succeeded:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cli: time values are printed as timestamps
4 participants