Repository: spark
Updated Branches:
  refs/heads/master 5e1ee2898 -> 201a51f36


[SPARK-15452][SQL] Mark aggregator API as experimental

## What changes were proposed in this pull request?
The Aggregator API was introduced in 2.0 for Dataset. All typed Dataset APIs 
should still be marked as experimental in 2.0.

## How was this patch tested?
N/A - annotation only change.

Author: Reynold Xin <[email protected]>

Closes #13226 from rxin/SPARK-15452.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/201a51f3
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/201a51f3
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/201a51f3

Branch: refs/heads/master
Commit: 201a51f36682726d78d9d2fe2c388093bb860ee0
Parents: 5e1ee28
Author: Reynold Xin <[email protected]>
Authored: Sat May 21 12:46:25 2016 -0700
Committer: Reynold Xin <[email protected]>
Committed: Sat May 21 12:46:25 2016 -0700

----------------------------------------------------------------------
 .../main/scala/org/apache/spark/sql/expressions/Aggregator.scala  | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/201a51f3/sql/core/src/main/scala/org/apache/spark/sql/expressions/Aggregator.scala
----------------------------------------------------------------------
diff --git 
a/sql/core/src/main/scala/org/apache/spark/sql/expressions/Aggregator.scala 
b/sql/core/src/main/scala/org/apache/spark/sql/expressions/Aggregator.scala
index baae9dd..51179a5 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/expressions/Aggregator.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/expressions/Aggregator.scala
@@ -17,12 +17,14 @@
 
 package org.apache.spark.sql.expressions
 
+import org.apache.spark.annotation.Experimental
 import org.apache.spark.sql.{Dataset, Encoder, TypedColumn}
 import org.apache.spark.sql.catalyst.encoders.encoderFor
 import 
org.apache.spark.sql.catalyst.expressions.aggregate.{AggregateExpression, 
Complete}
 import org.apache.spark.sql.execution.aggregate.TypedAggregateExpression
 
 /**
+ * :: Experimental ::
  * A base class for user-defined aggregations, which can be used in 
[[Dataset]] operations to take
  * all of the elements of a group and reduce them to a single value.
  *
@@ -48,6 +50,7 @@ import 
org.apache.spark.sql.execution.aggregate.TypedAggregateExpression
  * @tparam OUT The type of the final output result.
  * @since 1.6.0
  */
+@Experimental
 abstract class Aggregator[-IN, BUF, OUT] extends Serializable {
 
   /**


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to