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

[Fix] Fix the issue with parsing MongoDB timestamp and array types #547

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

xuqinghuang
Copy link
Contributor

Proposed changes

Issue Number: close #546

Problem Summary:

  1. Change the mongo timestamp type to the datetime type when writing to doris
  2. Fix the problem that the mongo array type is incorrectly judged, and set it to the array type,to avoid creating table exceptions
  3. Unify $date, $numberDecimal, $numberLong constants to avoid separate definitions

Checklist(Required)

  1. Does it affect the original behavior: (Yes/No/I Don't know)
  2. Has unit tests been added: (Yes/No/No Need)
  3. Has document been added or modified: (Yes/No/No Need)
  4. Does it need to update dependencies: (Yes/No)
  5. Are there any changes that cannot be rolled back: (Yes/No)

Further comments

If this is a relatively large or complex change, kick off the discussion at [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...

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.

[Enhancement] MongoCDC timestamp and array type parsing and judgment are inaccurate
1 participant