Skip to content

sql: remove local ordinality#42596

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
jordanlewis:ordinality
Nov 20, 2019
Merged

sql: remove local ordinality#42596
craig[bot] merged 1 commit intocockroachdb:masterfrom
jordanlewis:ordinality

Conversation

@jordanlewis
Copy link
Copy Markdown
Member

Now that it's got a distributed version, we can delete the local
implementation.

Release note: None

Now that it's got a distributed version, we can delete the local
implementation.

Release note: None
@jordanlewis jordanlewis requested a review from rafiss November 20, 2019 15:02
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Collaborator

@rafiss rafiss left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 2 files at r1.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained

@jordanlewis
Copy link
Copy Markdown
Member Author

bors r+

craig bot pushed a commit that referenced this pull request Nov 20, 2019
42572: sql: scan only primary column for FK checks r=RaduBerinde a=RaduBerinde

This change improves the legacy FK path to only scan the primary
column family. The new path already does this (as long as the best plan is a
lookup join). Adding a test for both paths.

Fixes #30852.

Release note: None

42596: sql: remove local ordinality r=jordanlewis a=jordanlewis

Now that it's got a distributed version, we can delete the local
implementation.

Release note: None

Co-authored-by: Radu Berinde <radu@cockroachlabs.com>
Co-authored-by: Jordan Lewis <jordanthelewis@gmail.com>
@craig
Copy link
Copy Markdown
Contributor

craig bot commented Nov 20, 2019

Build succeeded

@craig craig bot merged commit 84c43b4 into cockroachdb:master Nov 20, 2019
@yuzefovich
Copy link
Copy Markdown
Member

The order of planNodes in mustWrapNode and createPlanForNode is now off-sync 😢

@jordanlewis
Copy link
Copy Markdown
Member Author

😰 I'll send a PR

@yuzefovich
Copy link
Copy Markdown
Member

While you're at it, it seems to me that exportNode is not in mustWrapNode while virtualTableNode is in it but not in createPlanForNode. What I'm saying is that the methods are out of sync :/

@jordanlewis
Copy link
Copy Markdown
Member Author

Blah. This thing is terrible.

@jordanlewis jordanlewis deleted the ordinality branch November 30, 2019 05:03
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