Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.10.0
-
None
-
None
-
execution:
planner: blink
type: batch
Description
The sql is:
CREATE TABLE `orders` (
rowtime TIMESTAMP,
id INT,
product VARCHAR,
units INT
) WITH (
'format.field-delimiter'='|',
'connector.type'='filesystem',
'format.derive-schema'='true',
'connector.path'='/defender_test_data/daily_regression_blink_sql_1.10/test_agg/sources/orders.csv',
'format.type'='csv'
);
select floor(rowtime to hour) as rowtime, count as c from orders group by floor(rowtime to hour)
The result got in a sqlClient environment which use the sql above is like this:
But the same sql write directly to a cvs batch sink will get a result like this:
1972-03-06 08:44:36.736|4
1972-03-06 08:44:36.736|1
Attachments
Attachments
Issue Links
- is duplicated by
-
FLINK-15313 Can not insert decimal with precision into sink using TypeInformation
- Resolved
- relates to
-
FLINK-15313 Can not insert decimal with precision into sink using TypeInformation
- Resolved