This is an automated email from the ASF dual-hosted git repository.
mchades 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 8fa24a475 [#5815] fix(web): config oceanbase column types (#5816)
8fa24a475 is described below
commit 8fa24a475904b5ab39891126a08c24a30b49ee7e
Author: Qian Xia <[email protected]>
AuthorDate: Tue Dec 10 19:39:36 2024 +0800
[#5815] fix(web): config oceanbase column types (#5816)
### What changes were proposed in this pull request?
config oceanbase column types
### Why are the changes needed?
N/A
Fix: #5815
### Does this PR introduce _any_ user-facing change?
N/A
### How was this patch tested?
manually
---
web/web/src/lib/utils/initial.js | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/web/web/src/lib/utils/initial.js b/web/web/src/lib/utils/initial.js
index f7328205d..6d6efe84b 100644
--- a/web/web/src/lib/utils/initial.js
+++ b/web/web/src/lib/utils/initial.js
@@ -565,6 +565,26 @@ const relationalColumnTypeMap = {
'timestamp',
'timestamp_tz',
'varchar'
+ ],
+ 'jdbc-oceanbase': [
+ 'binary',
+ 'byte',
+ 'byte unsigned',
+ 'char',
+ 'date',
+ 'decimal',
+ 'double',
+ 'float',
+ 'integer',
+ 'integer unsigned',
+ 'long',
+ 'long unsigned',
+ 'short',
+ 'short unsigned',
+ 'string',
+ 'time',
+ 'timestamp',
+ 'varchar'
]
}