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

bug fix json Parser #481

Conversation

sean-k1
Copy link
Collaborator

@sean-k1 sean-k1 commented Sep 20, 2023

resolve #474, #398
depends on #488

  • bug fix json array, object
  • add parse json opaque type
  • add testcases
  • refactoring bytes read (json binlog not show orderly, so we need to move bytes index for read json value)

@sean-k1 sean-k1 force-pushed the fix-bug-json-parser branch from c6709a7 to 7829fed Compare September 22, 2023 02:27
@sean-k1
Copy link
Collaborator Author

sean-k1 commented Sep 22, 2023

PARTIAL_UPDATE_ROWS_EVENT Unimplemented event exists.
SO When Special cases PARTIAL_UPDATE WE CAN not Catch this UpdateEvent.

ruff fix

delete unused code
@julien-duponchelle
Copy link
Owner

Could you add a unit test so we don't introduce a regression?

@sean-k1
Copy link
Collaborator Author

sean-k1 commented Sep 23, 2023

Im still considering this one
Im going to change draft

@sean-k1 sean-k1 marked this pull request as draft September 23, 2023 08:35
@sean-k1 sean-k1 force-pushed the fix-bug-json-parser branch 2 times, most recently from 826a24a to db72d4b Compare September 24, 2023 09:41
@sean-k1 sean-k1 marked this pull request as ready for review September 24, 2023 09:44
- change json array type format
- add Json testcases

add update Json testcase

add test datetime,decimal,time cases
@sean-k1 sean-k1 force-pushed the fix-bug-json-parser branch from db72d4b to 652fa9a Compare September 24, 2023 10:04
@sean-k1
Copy link
Collaborator Author

sean-k1 commented Sep 24, 2023

@julien-duponchelle ready for review This PR NOW

I would love to develop a PARTIAL_UPDATE_ROW_EVENT right now, but it will take some time to implement it.

I'm planning to do it in the next PR.

@julien-duponchelle julien-duponchelle merged commit 08219f7 into julien-duponchelle:main Sep 24, 2023
sean-k1 added a commit that referenced this pull request Oct 2, 2023
* bug fix json Parser

* make bytes util

* error fix json array, json object

* add datetime, time parsing
add test datetime,decimal,time cases
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.

AssertionError: Result length not requested length
2 participants