coolderli opened a new issue #2947:
URL: https://github.com/apache/iceberg/issues/2947
I am in Beijing China (UTC+8). When I create an iceberg table with
hours(date) partition, I got the wrong directory name.
There is what I did.
My table is partition by hours(date_time):
```
spark-sql> desc test_timestamp;
id string
date_time timestamp
# Partitioning
Part 0 hours(date_time)
```
And then I insert a record using spark:
```
spark-sql> insert into test_timestamp values (1, CURRENT_TIMESTAMP());
Time taken: 106.969 seconds
spark-sql> select * from test_timestamp;
1 2021-08-06 12:54:55.786
```
And I found the partition name is wrong:

I think the current name is `date_hour=2021-08-06-12`.
Is there anything wrong with my operation? When I use Flink, I came to the
same problem.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]