You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Flink Jira Bot (Jira)" <ji...@apache.org> on 2021/06/07 10:59:02 UTC

[jira] [Updated] (FLINK-20851) flink datagen produce NULL value

     [ https://issues.apache.org/jira/browse/FLINK-20851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Flink Jira Bot updated FLINK-20851:
-----------------------------------
      Labels: auto-deprioritized-major  (was: stale-major)
    Priority: Minor  (was: Major)

This issue was labeled "stale-major" 7 ago and has not received any updates so it is being deprioritized. If this ticket is actually Major, please raise the priority and ask a committer to assign you the issue or revive the public discussion.


> flink datagen produce NULL value
> --------------------------------
>
>                 Key: FLINK-20851
>                 URL: https://issues.apache.org/jira/browse/FLINK-20851
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Ecosystem
>    Affects Versions: 1.12.0
>         Environment: 
>            Reporter: appleyuchi
>            Priority: Minor
>              Labels: auto-deprioritized-major
>         Attachments: datagen報錯.png
>
>
> ````
> CREATE TABLE orders (
>     order_uid  BIGINT,
>     product_id BIGINT,
>     price      DECIMAL(32, 2),
>     order_time TIMESTAMP(3)
> ) WITH (
>     'connector' = 'datagen'
> );
> SELECT * FROM orders;
> ````
> This DDL will produce NULL for column price.
> but it's ok in
> https://github.com/knaufk/flink-sql-cookbook/blob/master/recipes/01/01_create_table.md
> ①If it's the flink-sql-cookbook's fault,tell me please,
> Could you please tell me the right syntax for it?
> ②If it's the flink's bug,fix it please.
> Thanks for your help.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)