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

2015-06-08 Thread Bipin Roshan Nag (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-8011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14576709#comment-14576709
 ] 

Bipin Roshan Nag commented on SPARK-8011:
-

It works. Thanks.

 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



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

2015-06-02 Thread Liang-Chi Hsieh (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-8011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14568823#comment-14568823
 ] 

Liang-Chi Hsieh commented on SPARK-8011:


Try DecimalType.Unlimited?

 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org