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

chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/master by this push:
     new da4ca5041 [KYUUBI #5975][FOLLOWUP][TEST] Fix trino - get type info
da4ca5041 is described below

commit da4ca50412caec5e6ea94a7b22b14dc7e0b4f9dc
Author: Cheng Pan <[email protected]>
AuthorDate: Tue Jan 16 04:35:35 2024 +0800

    [KYUUBI #5975][FOLLOWUP][TEST] Fix trino - get type info
    
    # :mag: Description
    ## Issue References ๐Ÿ”—
    
    This pull request fixes the UT
    
    ## Describe Your Solution ๐Ÿ”ง
    
    Trino 411 adds now data types, the UT should be updated accordingly.
    
    ## Types of changes :bookmark:
    
    - [x] 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 ๐Ÿงช
    
    And pass GA.
    
    ---
    
    # Checklist ๐Ÿ“
    
    - [x] This patch was not authored or co-authored using [Generative 
Tooling](https://www.apache.org/legal/generative-tooling.html)
    
    **Be nice. Be informative.**
    
    Closes #5979 from pan3793/5975-followup.
    
    Closes #5975
    
    832a4824d [Cheng Pan] [KYUUBI #5975][FOLLOWUP][TEST] Fix trino - get type 
info
    
    Authored-by: Cheng Pan <[email protected]>
    Signed-off-by: Cheng Pan <[email protected]>
---
 .../apache/kyuubi/engine/trino/operation/TrinoOperationSuite.scala    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/externals/kyuubi-trino-engine/src/test/scala/org/apache/kyuubi/engine/trino/operation/TrinoOperationSuite.scala
 
b/externals/kyuubi-trino-engine/src/test/scala/org/apache/kyuubi/engine/trino/operation/TrinoOperationSuite.scala
index c49c4965b..c3a81a9e4 100644
--- 
a/externals/kyuubi-trino-engine/src/test/scala/org/apache/kyuubi/engine/trino/operation/TrinoOperationSuite.scala
+++ 
b/externals/kyuubi-trino-engine/src/test/scala/org/apache/kyuubi/engine/trino/operation/TrinoOperationSuite.scala
@@ -89,7 +89,9 @@ class TrinoOperationSuite extends WithTrinoEngine with 
TrinoQueryTests {
         "tdigest",
         "LikePattern",
         "function",
-        "Classifier")
+        "Classifier",
+        "json2016",
+        "JsonPath2016")
       val typeInfos: Set[String] = Set()
       while (typeInfo.next()) {
         assert(expectedTypes.contains(typeInfo.getString(TYPE_NAME)))

Reply via email to