Skip to content

branch-4.1: [improve](Streamingjob) add macaddr8/xml/hstore and array element type for PostgreSQL #61433#61551

Open
github-actions[bot] wants to merge 2 commits intobranch-4.1from
auto-pick-61433-branch-4.1
Open

branch-4.1: [improve](Streamingjob) add macaddr8/xml/hstore and array element type for PostgreSQL #61433#61551
github-actions[bot] wants to merge 2 commits intobranch-4.1from
auto-pick-61433-branch-4.1

Conversation

@github-actions
Copy link
Contributor

Cherry-picked from #61433

…e for PostgreSQL (#61433)

### What problem does this PR solve?

Extend PostgreSQL CDC type support:
                                                            
- **New scalar types**: `macaddr8`, `xml`, `hstore` → mapped to Doris
`STRING` in both `SchemaChangeHelper` (CDC DDL) and
`JdbcPostgreSQLClient` (FE table creation)
- **Array types**: `_*` prefix handling in `SchemaChangeHelper` →
`ARRAY<T>` (e.g. `_int4` → `ARRAY<INT>`); expanded
`supportedInnerType` in `JdbcPostgreSQLClient` with
`numeric`/`json`/`jsonb`/`uuid`
- **Array element conversion**: extracted `convertToArray()` in
`DebeziumJsonDeserializer` to recursively convert each
element through the same type-aware logic as scalar columns, fixing
timestamp array elements being stored as raw epoch
  microseconds
@github-actions github-actions bot requested a review from yiguolei as a code owner March 20, 2026 06:12
@hello-stephen
Copy link
Contributor

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?

@dataroaring dataroaring reopened this Mar 20, 2026
@hello-stephen
Copy link
Contributor

run buildall

@yiguolei yiguolei closed this Mar 20, 2026
@yiguolei yiguolei reopened this Mar 20, 2026
@yiguolei yiguolei closed this Mar 21, 2026
@yiguolei yiguolei reopened this Mar 21, 2026
@yiguolei
Copy link
Contributor

run buildall

@yiguolei yiguolei closed this Mar 21, 2026
@JNSimba JNSimba reopened this Mar 21, 2026
@JNSimba
Copy link
Member

JNSimba commented Mar 21, 2026

run buildall

@JNSimba
Copy link
Member

JNSimba commented Mar 22, 2026

run p0

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.

4 participants