ddl: LINEAR HASH as HASH partitioned table#38451
Conversation
…eyword Instead of ignoring the whole PARTITION BY clause
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 1a45d58 |
TiDB MergeCI notify🔴 Bad News! New failing [1] after this pr merged.
|
What problem does this PR solve?
Issue Number: close #38450
Problem Summary:
Currently a
CREATE TABLE ... PARTITION BY LINEAR HASH ...ignores the full PARTITION BY clause and creates a non-partitioned table, with a warning.This PR changes it to only ignore the LINEAR keyword and creates a HASH partitioned table, with a warning.
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.