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

sql: fix some spelling errors #20727

Merged
merged 1 commit into from Dec 14, 2017
Merged

Conversation

BramGruneir
Copy link
Member

Release note: None

@BramGruneir BramGruneir added this to the 2.0 milestone Dec 14, 2017
@BramGruneir BramGruneir requested review from m-schneider and a team December 14, 2017 19:17
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@BramGruneir
Copy link
Member Author

Please make sure that the changes to structured.proto and thus structured.pb.go won't cause any issues.

@andreimatei
Copy link
Contributor

:lgtm:


Review status: 0 of 7 files reviewed at latest revision, all discussions resolved, some commit checks pending.


Comments from Reviewable

Copy link
Member

@jordanlewis jordanlewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

"FLOAT4": ColumnType_REAL,
"REAL": ColumnType_REAL,
"FLOAT8": ColumnType_DOUBLE_PRECISION,
"DOUBLE PRECISION": ColumnType_DOUBLE_PRECISION,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fairly sure this is fixing a real but minor bug - I think without this change users wouldn't be able to specify a DOUBLE PRECISION type with a precision type omdifier. Or something like that.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there's a test failure so you might be right. I'll update the release notes if this is the case.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, was a minor bug, added the release note.

@m-schneider
Copy link
Contributor

:lgtm:


Comments from Reviewable

Release note: (sql) A small spelling bug made it such that a `DOUBLE PRECISION` specified type would erroneously display as a float. Interally these are the same type, so this was just an bug on showing the correct type alias when calling `SHOW COLUMNS`.
@BramGruneir BramGruneir requested a review from a team December 14, 2017 20:03
@BramGruneir BramGruneir merged commit e2b2965 into cockroachdb:master Dec 14, 2017
@BramGruneir BramGruneir deleted the precision branch December 14, 2017 20:32
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.

None yet

5 participants