Skip to content

[feature](dbt) upgrade dbt-doris adapter to v1.0.0#61423

Merged
hello-stephen merged 4 commits intoapache:masterfrom
catpineapple:dbt-doris-v1.0.0
Mar 27, 2026
Merged

[feature](dbt) upgrade dbt-doris adapter to v1.0.0#61423
hello-stephen merged 4 commits intoapache:masterfrom
catpineapple:dbt-doris-v1.0.0

Conversation

@catpineapple
Copy link
Copy Markdown
Contributor

What problem does this PR solve?

Upgrade dbt-doris version to 1.0.0

  • Improve connection management: handle unknown database on first connect
  • Add cross-database relation support (database mapped to schema)
  • Add transaction no-op for Doris (BEGIN/COMMIT not supported in mixed DDL/DML)
  • Add data_type_code_to_name mapping for mysql-connector type codes
  • Improve view materialization with CREATE OR REPLACE VIEW
  • Add table exchange for table materialization re-runs
  • Add table/column comment support (persist_docs)
  • Add comprehensive test suite: connection, cross-database, incremental, seed, snapshot, table, and view tests
  • Remove hardcoded test credentials, use environment variables with safe defaults

Release note

None

Check List (For Author)

  • Test

    • Regression test
    • Unit Test
    • Manual test (add detailed scripts or steps below)
    • No need to test or manual test. Explain why:
      • This is a refactor/code format and no logic has been changed.
      • Previous test can cover this change.
      • No code files have been changed.
      • Other reason
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

- Upgrade dbt-doris version to 1.0.0
- Improve connection management: handle unknown database on first connect
- Add cross-database relation support (database mapped to schema)
- Add transaction no-op for Doris (BEGIN/COMMIT not supported in mixed DDL/DML)
- Add data_type_code_to_name mapping for mysql-connector type codes
- Improve view materialization with CREATE OR REPLACE VIEW
- Add table exchange for table materialization re-runs
- Add table/column comment support (persist_docs)
- Add comprehensive test suite: connection, cross-database, incremental,
  seed, snapshot, table, and view tests
- Remove hardcoded test credentials, use environment variables with safe defaults
@Thearas
Copy link
Copy Markdown
Contributor

Thearas commented Mar 17, 2026

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

JNSimba
JNSimba previously approved these changes Mar 27, 2026
@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Mar 27, 2026
@github-actions
Copy link
Copy Markdown
Contributor

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions github-actions bot removed the approved Indicates a PR has been approved by one committer. label Mar 27, 2026
@hello-stephen
Copy link
Copy Markdown
Contributor

skip buildall

@github-actions
Copy link
Copy Markdown
Contributor

PR approved by at least one committer and no changes requested.

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Mar 27, 2026
@hello-stephen hello-stephen merged commit 53795db into apache:master Mar 27, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants