apache / apache/gravitino

[Improvement] Add exception message for gravtinio trino connector: Hive CSV storage format only supports VARCHAR

Open
#5,413 1 comment 0 reactions 0 assignees View on GitHub
improvement
Dominant language
Java
Stars
3.2k
Forks
935
Avg merge
1d 16h
Merged PRs (30d)
298

Description

### What would you like to be improved?

image

### How should we improve?

Pop clear exception message like hive connector as following:
image

io.trino.spi.TrinoException: Hive CSV storage format only supports VARCHAR (unbounded). Unsupported columns: congress integer, birthday date, termstart date, age double

Contributor guide

Open the contributing guide

Research direction

The issue names no source file, test, or entry point. Locate the Gravitino Trino connector's Hive CSV schema validation and compare its error handling with the Hive connector example in the issue. Done means unsupported non-VARCHAR columns produce a clear exception listing the columns and stating that Hive CSV supports only unbounded VARCHAR.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.