Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expression: add array field to protobuf #317

Merged
merged 1 commit into from
Sep 14, 2023
Merged

Conversation

YangKeao
Copy link
Member

@YangKeao YangKeao commented Sep 6, 2023

We have added the multi value index, and it should add a new field (array) to the FieldType and ColumnInfo. The array marks whether it's an element of the json value.

It will affect the behavior of NeedRestoreData, because when it's an array, the tp will return json. See https://github.com/pingcap/tidb/pull/39992/files#diff-7f1116d41040b590372f81a91d25057b8ef7f6bdf503f6c2b27af3f35294cda1R93-R95, and it doesn't need RestoreData.

See pingcap/tidb#46718 and tikv/tikv#15537

Signed-off-by: Yang Keao <yangkeao@chunibyo.icu>
Copy link
Member

@bb7133 bb7133 left a comment

Choose a reason for hiding this comment

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

LGTM, but I'm not a reviewer of this repository.

@bb7133
Copy link
Member

bb7133 commented Sep 14, 2023

OK, I'm able to review this PR and get it merged :)

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.

None yet

2 participants