Skip to content

add elems for fieldtype#217

Merged
windtalker merged 1 commit intopingcap:masterfrom
hanfei1991:hanfei/add-elems
Mar 9, 2021
Merged

add elems for fieldtype#217
windtalker merged 1 commit intopingcap:masterfrom
hanfei1991:hanfei/add-elems

Conversation

@hanfei1991
Copy link
Member

@hanfei1991 hanfei1991 commented Mar 9, 2021

TiFlash needs the whole information of elem type to run and return data correctly. To solve the problem thoroughly, we decide to add elems field in FieldType.

Technically, we can get the elems info by syncing the tidb table schema, but after introducing mpp mode, we would lose the elems info after shuffling data. That's why we have to pass the elems in pb.

@CLAassistant
Copy link

CLAassistant commented Mar 9, 2021

CLA assistant check
All committers have signed the CLA.

@hanfei1991
Copy link
Member Author

/cc @coocood @XuHuaiyu

@coocood
Copy link
Member

coocood commented Mar 9, 2021

LGTM

Copy link
Contributor

@windtalker windtalker left a comment

Choose a reason for hiding this comment

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

LGTM

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