You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Naden Franciscus (JIRA)" <ji...@apache.org> on 2015/06/22 03:24:00 UTC
[jira] [Commented] (SPARK-6412) Add Char support in dataTypes.
[ https://issues.apache.org/jira/browse/SPARK-6412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14595280#comment-14595280 ]
Naden Franciscus commented on SPARK-6412:
-----------------------------------------
This needs to be reopened.
The use case couldn't be more clear. Querying from a table that has a CHAR data type is unsupported.
> Add Char support in dataTypes.
> ------------------------------
>
> Key: SPARK-6412
> URL: https://issues.apache.org/jira/browse/SPARK-6412
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Chen Song
>
> We can't get the schema of case class PrimitiveData, because of ScalaReflection.schemaFor and dataTYpes doesn't support CharType.
> case class PrimitiveData(
> charField: Char, // Can't get the char schema info
> intField: Int,
> longField: Long,
> doubleField: Double,
> floatField: Float,
> shortField: Short,
> byteField: Byte,
> booleanField: Boolean)
--
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