This is an automated email from the ASF dual-hosted git repository.
feiwang pushed a commit to branch branch-1.7
in repository https://gitbox.apache.org/repos/asf/kyuubi.git
The following commit(s) were added to refs/heads/branch-1.7 by this push:
new 4ae000387 [KYUUBI #2782][FOLLOWUP] Add missed UNION_TYPE back
4ae000387 is described below
commit 4ae00038747fc06d3043f66b433f4fe2ab06a028
Author: Wang, Fei <[email protected]>
AuthorDate: Mon Mar 25 23:55:55 2024 -0700
[KYUUBI #2782][FOLLOWUP] Add missed UNION_TYPE back
This pull request fixes #
Fix https://github.com/apache/kyuubi/pull/6207#discussion_r1538539729
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that are
required for this change.
- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
---
- [ ] This patch was not authored or co-authored using [Generative
Tooling](https://www.apache.org/legal/generative-tooling.html)
**Be nice. Be informative.**
Closes #6209 from turboFei/fix_union_type.
Closes #2782
622c838cd [Wang, Fei] miss
Authored-by: Wang, Fei <[email protected]>
Signed-off-by: Wang, Fei <[email protected]>
(cherry picked from commit ae9e88f0ca53530a3c6c2ea85c5f9155c9f97e1e)
Signed-off-by: Wang, Fei <[email protected]>
---
.../src/main/java/org/apache/kyuubi/jdbc/hive/JdbcColumn.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/JdbcColumn.java
b/kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/JdbcColumn.java
index 365fc1d3e..9887233aa 100644
--- a/kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/JdbcColumn.java
+++ b/kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/JdbcColumn.java
@@ -240,6 +240,8 @@ public class JdbcColumn {
return "struct";
case NULL_TYPE:
return "void";
+ case UNION_TYPE:
+ return "uniontype";
default:
throw new KyuubiSQLException("Invalid column type: " + type);
}