Skip to content

Commit 5a2249b

Browse files
authored
[#5098] improvement(doc): add note for Doris type mapping (#5749)
### What changes were proposed in this pull request? add note for Doris type mapping ### Why are the changes needed? Doris does support nested type in JDBC Fix: #5098 ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? no
1 parent 054c6f7 commit 5a2249b

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ jobs:
4040
- '**/*.rs'
4141
- '**/resources/**'
4242
- '**/src/**'
43-
- '!**.md'
44-
- '!**.png'
45-
- '!**.svg'
43+
- '!**/*.md'
44+
- '!**/*.png'
45+
- '!**/*.svg'
4646
spark_connector_changes:
4747
- spark-connector/**
4848
outputs:

docs/jdbc-doris-catalog.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,14 @@ Please refer to
102102
| `FixedChar` | `Char` |
103103
| `String` | `String` |
104104

105-
Doris doesn't support Gravitino `Fixed` `Struct` `List` `Map` `Timestamp_tz` `IntervalDay` `IntervalYear` `Union` `UUID` type.
106-
The data types other than those listed above are mapped to Gravitino's
107-
**[Unparsed Type](./manage-relational-metadata-using-gravitino.md#unparsed-type)** that
108-
represents an unresolvable data type since 0.5.0.
105+
106+
Doris doesn't support Gravitino `Fixed` `Timestamp_tz` `IntervalDay` `IntervalYear` `Union` `UUID` type.
107+
The data types other than those listed above are mapped to Gravitino's **[Unparsed Type](./manage-relational-metadata-using-gravitino.md#unparsed-type)** that represents an unresolvable data type since 0.5.0.
108+
109+
:::note
110+
Gravitino can not load Doris `array`, `map` and `struct` type correctly, because Doris doesn't support these types in JDBC.
111+
:::
112+
109113

110114
### Table column auto-increment
111115

0 commit comments

Comments
 (0)