Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix a syntax error
  • Loading branch information
maropu committed Aug 19, 2016
commit 91701eb5171555ce73ba6b190b41cc17f05eee8c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class PlannerSuite extends SharedSQLContext {
}

test("non-partial aggregation for distinct aggregates") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also add a test for non-partial aggregation with a regular (non distinct) aggregate?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added

withTempTable("testNonPartialAggregation") {
withTempView("testNonPartialAggregation") {
val schema = StructType(StructField(s"value", IntegerType, true) :: Nil)
val row = Row.fromSeq(Seq.fill(1)(null))
val rowRDD = sparkContext.parallelize(row :: Nil)
Expand Down