apache / apache/kyuubi

[FEATURE] Kyuubi-Flink support `TIMESTAMP(%d) WITH LOCAL TIME ZONE` type

Open
#3,074 4 comments 0 reactions 1 assignee Claimed by @zzzzming95 View on GitHub
kind:feature priority:major
Dominant language
Scala
Stars
2.4k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

### Search before asking

- [X] I have searched in the [issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and found no similar issues.

### Describe the feature

Flink data type `TIMESTAMP(%d) WITH LOCAL TIME ZONE` is not supported currently, but we use this type for our data.
https://github.com/apache/incubator-kyuubi/blob/master/externals/kyuubi-flink-sql-engine/src/main/scala/org/apache/kyuubi/engine/flink/schema/RowSet.scala#L310

### Motivation

_No response_

### Describe the solution
_No response_

### Additional context

Demo:
```sql
CREATE TABLE `iceberg`.`test`.`test_1` (`t` TIMESTAMP(6) WITH LOCAL TIME ZONE);
```

```sql
select * from `iceberg`.`test`.`test_1`;
```

企业微信截图_94691e69-0701-4375-b65f-5057407a2dbb

### Are you willing to submit PR?

- [ ] Yes I am willing to submit a PR!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.