spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reynold Xin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-8653) Add constraint for Children expression for data type
Date Wed, 01 Jul 2015 05:33:05 GMT

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

Reynold Xin commented on SPARK-8653:
------------------------------------

Implicit type casts should be up to the query engine itself, not each individual expressions.
So we really just need one rule in the TypeCoercion file to handle the implicit type casts,
and each expression can simply specify the expected input types.

https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types#LanguageManualTypes-AllowedImplicitConversions

https://msdn.microsoft.com/en-us/library/ms191530.aspx



> Add constraint for Children expression for data type
> ----------------------------------------------------
>
>                 Key: SPARK-8653
>                 URL: https://issues.apache.org/jira/browse/SPARK-8653
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Cheng Hao
>            Assignee: Reynold Xin
>
> Currently, we have trait in Expression like `ExpectsInputTypes` and also the `checkInputDataTypes`,
but can not convert the children expressions automatically, except we write the new rules
in the `HiveTypeCoercion`.



--
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


Mime
View raw message