You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2016/12/08 23:09:58 UTC
[jira] [Updated] (SPARK-16906) Adds more input type information for
TypedAggregateExpression
[ https://issues.apache.org/jira/browse/SPARK-16906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-16906:
----------------------------------
Component/s: SQL
> Adds more input type information for TypedAggregateExpression
> -------------------------------------------------------------
>
> Key: SPARK-16906
> URL: https://issues.apache.org/jira/browse/SPARK-16906
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Sean Zhong
> Assignee: Sean Zhong
> Priority: Minor
> Fix For: 2.1.0
>
>
> For TypedAggregateExpression
> {code}
> case class TypedAggregateExpression(
> aggregator: Aggregator[Any, Any, Any],
> inputDeserializer: Option[Expression],
> bufferSerializer: Seq[NamedExpression],
> bufferDeserializer: Expression,
> outputSerializer: Seq[Expression],
> outputExternalType: DataType,
> dataType: DataType,
> nullable: Boolean) extends DeclarativeAggregate with NonSQLExpression
> {code}
> Aggregator of TypedAggregateExpression usually contains a closure like:
> {code}
> class TypedSumDouble[IN](f: IN => Double) extends Aggregator[IN, Double, Double]
> {code}
> It will be great if we can add more info in TypedAggregateExpression to describe the closure input type {{IN}}, like class, and schema, so that we can use this info to make customized optimization like SPARK-14083
--
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