Skip to content

Commit

Permalink
[KYUUBI apache#5975][FOLLOWUP][TEST] Fix trino - get type info
Browse files Browse the repository at this point in the history
# 🔍 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 🔖

- [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 apache#5979 from pan3793/5975-followup.

Closes apache#5975

832a482 [Cheng Pan] [KYUUBI apache#5975][FOLLOWUP][TEST] Fix trino - get type info

Authored-by: Cheng Pan <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
  • Loading branch information
pan3793 authored and zhaohehuhu committed Feb 5, 2024
1 parent 5ae3ad9 commit 5600748
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit 5600748

Please sign in to comment.