Skip to content

sql: avoid using Tuple in RangePartition#28149

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
knz:20180801-range
Aug 1, 2018
Merged

sql: avoid using Tuple in RangePartition#28149
craig[bot] merged 1 commit intocockroachdb:masterfrom
knz:20180801-range

Conversation

@knz
Copy link
Copy Markdown
Contributor

@knz knz commented Aug 1, 2018

Forked off #28143, needed for #25522 / #26624.

The Tuple AST node is really for scalar tuples. RangePartition is
not using a scalar tuple. So split them.

Release note: None

The `Tuple` AST node is really for scalar tuples. RangePartition is
not using a scalar tuple. So split them.

Release note: None
@knz knz requested review from a team, jordanlewis and rjnn August 1, 2018 15:39
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@rjnn rjnn left a comment

Choose a reason for hiding this comment

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

:lgtm: :shipit:

Reviewed 3 of 3 files at r1.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (and 1 stale)

@knz
Copy link
Copy Markdown
Contributor Author

knz commented Aug 1, 2018

thanks

bors r+

craig bot pushed a commit that referenced this pull request Aug 1, 2018
28128: sql: casting to timestamp should strip tz info r=jordanlewis a=jordanlewis

And binary operations between timestamp and timestamptz should strip the
tz from the timestamptz.

Confirmed that all of this behavior matches postgres (and that it didn't
before).

Release note (bug fix): correct casts and binary operators between
timestamptz and timestamp in some cases.

28149: sql: avoid using Tuple in RangePartition r=knz a=knz

Forked off  #28143, needed for #25522 / #26624.

The `Tuple` AST node is really for scalar tuples. RangePartition is
not using a scalar tuple. So split them.

Release note: None

Co-authored-by: Jordan Lewis <jordanthelewis@gmail.com>
Co-authored-by: Raphael 'kena' Poss <knz@cockroachlabs.com>
@craig
Copy link
Copy Markdown
Contributor

craig bot commented Aug 1, 2018

Build succeeded

@craig craig bot merged commit 05e99f2 into cockroachdb:master Aug 1, 2018
@knz knz deleted the 20180801-range branch August 1, 2018 21:42
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.

4 participants