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

Nikolay Izhikov commented on IGNITE-7691:
-----------------------------------------

Hello, [~tledkov-gridgain].

Thanks for the review.

> Why we need this implementation?

To made Ignite better, obviously.

I, personally, need this feature to make better integration with Spark Data 
Frame.
I should provide column type for Data Frame schema and I want to use scale and 
precision from table metadata.
Please, see [1] from current master.

> I'm afraid that the user may be confused the contradiction between right 
> CREATE TABLE syntax (and right metadata) and wrong query results.

AFAIK it's a current Ignite behaviour.
So, it's already confusing a user who wants to restrict DECIMAL columns.
I thought that *wrong query results* is a bug so we have a plan to fix it.

Am I wrong?

[1] 
https://github.com/apache/ignite/blob/master/modules/spark/src/main/scala/org/apache/ignite/spark/impl/QueryUtils.scala#L133

> Provide info about DECIMAL column scale and precision
> -----------------------------------------------------
>
>                 Key: IGNITE-7691
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7691
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>    Affects Versions: 2.4
>            Reporter: Nikolay Izhikov
>            Assignee: Nikolay Izhikov
>            Priority: Minor
>             Fix For: 2.5
>
>
> Currently, it impossible to obtain scale and precision of DECIMAL column from 
> sql table metadata.
> Ignite should provide those type of meta information.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to