You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Michael Gendelman (Jira)" <ji...@apache.org> on 2020/08/13 13:28:00 UTC

[jira] [Commented] (FLINK-18704) Support DECIMAL types in datagen Table source connector

    [ https://issues.apache.org/jira/browse/FLINK-18704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17177010#comment-17177010 ] 

Michael Gendelman commented on FLINK-18704:
-------------------------------------------

[~fhueske] I'd like to work on this.

I'm wondering is the signature should receive BigDecimal? If it does we will need to convert to float/double and it might return NEGATIVE_INFINITY/POSITIVE_INFINITY.

> Support DECIMAL types in datagen Table source connector
> -------------------------------------------------------
>
>                 Key: FLINK-18704
>                 URL: https://issues.apache.org/jira/browse/FLINK-18704
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / Ecosystem
>    Affects Versions: 1.11.0, 1.11.1
>            Reporter: Fabian Hueske
>            Priority: Major
>              Labels: starter
>
> It would be great if the [{{datagen}} source connector|https://ci.apache.org/projects/flink/flink-docs-release-1.11/dev/table/connectors/datagen.html] would support {{DECIMAL}} types.
> Since data is randomly generated and FLOAT and DOUBLE are supported, we could implement this feature by creatig a {{BigDecimal}} from a random float.



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