You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Bipin Roshan Nag (JIRA)" <ji...@apache.org> on 2015/06/08 09:51:00 UTC

[jira] [Resolved] (SPARK-8011) DecimalType is not a datatype

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

Bipin Roshan Nag resolved SPARK-8011.
-------------------------------------
    Resolution: Not A Problem

> DecimalType is not a datatype
> -----------------------------
>
>                 Key: SPARK-8011
>                 URL: https://issues.apache.org/jira/browse/SPARK-8011
>             Project: Spark
>          Issue Type: Bug
>          Components: Java API, Spark Core
>    Affects Versions: 1.3.1
>            Reporter: Bipin Roshan Nag
>
> When I run the following in spark-shell :
>  StructType(StructField("ID",IntegerType,true), StructField("Value",DecimalType,true))
> I get
> <console>:50: error: type mismatch;
>  found   : org.apache.spark.sql.types.DecimalType.type
>  required: org.apache.spark.sql.types.DataType
>                StructType(StructField("ID",IntegerType,true), StructField("Value",DecimalType,true))



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org