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

FLASH-821 support JSON encode in coprocessor #389

Merged
merged 5 commits into from
Jan 15, 2020

Conversation

windtalker
Copy link
Contributor

support JSON encode in coprocessor, tested manually in tidb + tiflash environment

@windtalker
Copy link
Contributor Author

/run-integration-tests

@windtalker
Copy link
Contributor Author

/run-integration-tests

@@ -275,13 +274,17 @@ bool exprHasValidFieldType(const tipb::Expr & expr)

bool isUnsupportedEncodeType(const std::vector<tipb::FieldType> & types, tipb::EncodeType encode_type)
{
static std::unordered_map<tipb::EncodeType, std::unordered_set<Int32>> unsupported_types_map({
Copy link
Contributor

Choose a reason for hiding this comment

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

you can add a const qualifier as well.

Copy link
Contributor

@zanmato1984 zanmato1984 left a comment

Choose a reason for hiding this comment

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

Except the little comment LGTM.

@windtalker
Copy link
Contributor Author

/run-integration-tests

@windtalker windtalker merged commit 83513ef into pingcap:master Jan 15, 2020
@windtalker windtalker deleted the JSON_support branch January 15, 2020 10:39
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.

2 participants