yeunghl-shoalter opened a new issue, #9229:
URL: https://github.com/apache/iceberg/issues/9229
### Apache Iceberg version
1.4.2 (latest release)
### Query engine
Flink
### Please describe the bug 🐞
When writing data (timestamp with timezone precision 3) into Iceberg table,
the value would store with precision 0. Sure that the source provides values of
millisecond. Is there a problem when Flink writing timestamp that having
different precision with the Iceberg data type? Or there is other cause? Any
solution to this? Thanks.
Flink CDC MySQL connector as source and Iceberg as sink.
Flink SQL
```
CREATE TABLE `abcd` (
`__operation_timestamp` TIMESTAMP_LTZ(3) METADATA FROM 'op_ts' VIRTUAL
) WITH (
'connector'='mysql-cdc',
'hostname'='abcd',
'port'='8000',
'username'='abcd',
'password'='abcd',
'database-name'='abcd',
'table-name'='abcd'
);
INSERT INTO `abcd`.`abcd`.`abcd`
(
`operation_timestamp`
)
SELECT
`__operation_timestamp` AS `operation_timestamp`
FROM `abcd`;
```
View Iceberg table with Superset + Trino


--
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]