[CH] The time zone is error when using the timestamp type as the partition column
Open
bug
triage
- Dominant language
- Scala
- Stars
- 1.6k
- Forks
- 657
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 80
Description
### Backend
CH (ClickHouse)
### Bug description
The time zone is error when using the timestamp type as the partition column:
```
create table part_by_timestamp (
p timestamp
) using parquet
partitioned by (p);
```
```
insert into table part_by_timestamp
values (TIMESTAMP '2022-01-01 00:01:20');
```
```
!== Correct Answer - 1 == == Gluten Answer - 1 ==
struct<> struct<>
![2022-01-01 00:01:20.0] [2022-01-01 08:01:20.0]
```
### Spark version
None
### Spark configurations
_No response_
### System information
_No response_
### Relevant logs
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.