This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new 5a2249b06 [#5098] improvement(doc): add note for Doris type mapping
(#5749)
5a2249b06 is described below
commit 5a2249b0652efb49d371b488ec5e3874793cb488
Author: mchades <[email protected]>
AuthorDate: Wed Dec 4 16:34:08 2024 +0800
[#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
---
.github/workflows/build.yml | 6 +++---
docs/jdbc-doris-catalog.md | 12 ++++++++----
2 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 01e4e2f54..5e60f77ba 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -40,9 +40,9 @@ jobs:
- '**/*.rs'
- '**/resources/**'
- '**/src/**'
- - '!**.md'
- - '!**.png'
- - '!**.svg'
+ - '!**/*.md'
+ - '!**/*.png'
+ - '!**/*.svg'
spark_connector_changes:
- spark-connector/**
outputs:
diff --git a/docs/jdbc-doris-catalog.md b/docs/jdbc-doris-catalog.md
index b2a223de2..6679a2040 100644
--- a/docs/jdbc-doris-catalog.md
+++ b/docs/jdbc-doris-catalog.md
@@ -102,10 +102,14 @@ Please refer to
| `FixedChar` | `Char` |
| `String` | `String` |
-Doris doesn't support Gravitino `Fixed` `Struct` `List` `Map` `Timestamp_tz`
`IntervalDay` `IntervalYear` `Union` `UUID` type.
-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.
+
+Doris doesn't support Gravitino `Fixed` `Timestamp_tz` `IntervalDay`
`IntervalYear` `Union` `UUID` type.
+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.
+
+:::note
+Gravitino can not load Doris `array`, `map` and `struct` type correctly,
because Doris doesn't support these types in JDBC.
+:::
+
### Table column auto-increment