Skip to content

Conversation

@hk-lrzy
Copy link
Collaborator

@hk-lrzy hk-lrzy commented Apr 24, 2023

Prepare a Pull Request

  • Title: [BitSail-XYZ][XxxType] Title of the pull request

  • Fixes: #XYZ

Please change the PR title and the related issue number refer to the following description.

The above XYZ must be replaced with the actual GitHub Issue number, indicating that the current PR is used to solve the problem described in this Issue.

If you don't find an Issue that matches your changes, please Create Issue first, then commit this PR.

For more info about the contributing guide, see: Contributing Guide

Motivation

Describe what this PR does and what problems you're trying to solve.

Modifications

Describe the modifications you've done.

Verifying this change

Please pick either of the following options.

  • This change is a trivial rework/code cleanup without any test coverage.

  • This change is already covered by existing tests, such as:
    (please describe tests, example:)

    • com.bytedance.bitsail.core.EngineTest#testRunEngine
  • This change added tests and can be verified as follows:

    (example:)

    • Added unit tests for parsing of configs
    • Optimized integration tests for recovery after task failure

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
  • If a feature is not applicable for documentation, explain why?
  • If a feature is not documented yet in this PR, please create a follow-up issue for adding the documentation

haoke added 30 commits December 22, 2022 16:30
haoke added 28 commits February 28, 2023 14:54

<dependencies>
<dependency>
<groupId>io.debezium</groupId>
Copy link
Collaborator

Choose a reason for hiding this comment

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

can we not include debezium in the cdc base module?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Why not, i think all sub module all need this module?

- source.type: date
target.type: date.date

- source.type: bit
Copy link
Collaborator

Choose a reason for hiding this comment

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

does doris has bit datatype? I didn't see this type when I look at doris documentation.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

There have some context, now we need get doris columns by jdbc, and we will get mysql data type.


</dependencies>

<dependencyManagement>
Copy link
Collaborator

Choose a reason for hiding this comment

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

some cdc connector may not use debezium in the future, let's keep this in the submodule.

private static final int CONTAINS_SCHEMA_TABLE_ID_LENGTH = 3;

private final String database;
private final String schema;
Copy link
Collaborator

Choose a reason for hiding this comment

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

can we add UT for this class, curious about how's the format of each obj.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sure, i will do it.

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