Skip to content

add support of parse json field #111

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

Merged
merged 71 commits into from
Jun 26, 2017
Merged

Conversation

WangXiangUSTC
Copy link
Contributor

I sync a table from mysql 5.7 with json field, if I insert a value like blow:
"info" : "{"name": "wx"}"
and will get :
"info" : "eyJuYW1lIjoid3gifQ=="
in the elasticsearch.
So I add the parse of json field.

@siddontang
Copy link
Collaborator

Thanks @WangXiangUSTC
Could you add some tests for JSON type?

@WangXiangUSTC
Copy link
Contributor Author

@siddontang travis ci's mysql version need to upgrade to 5.7

@siddontang
Copy link
Collaborator

Hi @WangXiangUSTC

Does Travis CI support 5.7 by default now? Maybe we can update the travis now.

@WangXiangUSTC
Copy link
Contributor Author

@siddontang Travis CI doesn't support mysql 5.7 default, but we can update to 5.7 use script.

@siddontang
Copy link
Collaborator

Cool, @WangXiangUSTC

@siddontang siddontang merged commit 03287f7 into go-mysql-org:master Jun 26, 2017
@SuperNoobTao
Copy link

SuperNoobTao commented Mar 11, 2019

@WangXiangUSTC hello , does it supports json array?

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.

3 participants