Skip to content

executor: tablesample for temporary table should always return empty#25752

Merged
ti-chi-bot merged 1 commit into
pingcap:masterfrom
lcwangchao:temp_sample
Jun 24, 2021
Merged

executor: tablesample for temporary table should always return empty#25752
ti-chi-bot merged 1 commit into
pingcap:masterfrom
lcwangchao:temp_sample

Conversation

@lcwangchao
Copy link
Copy Markdown
Collaborator

What problem does this PR solve?

Problem Summary:
tablesample for temporary table should not return error for compatibility of tools like dumpling

What is changed and how it works?

always return empty when tablesampling a temporary table

Related changes

Check List

Tests

  • Unit test

Side effects

  • N/A

Release note

  • No release note

@lcwangchao lcwangchao requested a review from a team as a code owner June 24, 2021 14:19
@lcwangchao lcwangchao requested review from qw4990 and removed request for a team June 24, 2021 14:19
@ti-chi-bot ti-chi-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jun 24, 2021
@lcwangchao lcwangchao requested review from djshow832 and tiancaiamao and removed request for qw4990 June 24, 2021 14:21
@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Jun 24, 2021
@tiancaiamao
Copy link
Copy Markdown
Contributor

ref #25724

@djshow832 djshow832 added the sig/sql-infra SIG: SQL Infra label Jun 24, 2021
@ti-chi-bot
Copy link
Copy Markdown
Member

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • djshow832
  • tiancaiamao

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Details

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot ti-chi-bot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Jun 24, 2021
@tiancaiamao
Copy link
Copy Markdown
Contributor

/merge

@ti-chi-bot
Copy link
Copy Markdown
Member

This pull request has been accepted and is ready to merge.

DetailsCommit hash: 7b0814c

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Jun 24, 2021
@ti-chi-bot ti-chi-bot merged commit e23e3f8 into pingcap:master Jun 24, 2021
@lcwangchao lcwangchao deleted the temp_sample branch June 24, 2021 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sig/sql-infra SIG: SQL Infra size/M Denotes a PR that changes 30-99 lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants