You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by fe...@apache.org on 2024/03/26 06:56:18 UTC

(kyuubi) branch branch-1.8 updated: [KYUUBI #2782][FOLLOWUP] Add missed UNION_TYPE back

This is an automated email from the ASF dual-hosted git repository.

feiwang pushed a commit to branch branch-1.8
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/branch-1.8 by this push:
     new c178eb264 [KYUUBI #2782][FOLLOWUP] Add missed UNION_TYPE back
c178eb264 is described below

commit c178eb26405c4864ccec2b8c8aacacaa7e22e874
Author: Wang, Fei <fw...@ebay.com>
AuthorDate: Mon Mar 25 23:55:55 2024 -0700

    [KYUUBI #2782][FOLLOWUP] Add missed UNION_TYPE back
    
    # :mag: Description
    ## Issue References ๐Ÿ”—
    
    This pull request fixes #
    Fix https://github.com/apache/kyuubi/pull/6207#discussion_r1538539729
    ## Describe Your Solution ๐Ÿ”ง
    
    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.
    
    ## Types of changes :bookmark:
    
    - [ ] 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)
    
    ## Test Plan ๐Ÿงช
    
    #### Behavior Without This Pull Request :coffin:
    
    #### Behavior With This Pull Request :tada:
    
    #### Related Unit Tests
    
    ---
    
    # Checklist ๐Ÿ“
    
    - [ ] 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 <fw...@ebay.com>
    Signed-off-by: Wang, Fei <fw...@ebay.com>
    (cherry picked from commit ae9e88f0ca53530a3c6c2ea85c5f9155c9f97e1e)
    Signed-off-by: Wang, Fei <fw...@ebay.com>
---
 .../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 858f330a6..083528e54 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
@@ -241,6 +241,8 @@ public class JdbcColumn {
         return "struct";
       case NULL_TYPE:
         return "void";
+      case UNION_TYPE:
+        return "uniontype";
       case USER_DEFINED_TYPE:
         return "user_defined";
       default: