-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[EXAMPLES] Updated TPCH Query01 implementation and test.
- Loading branch information
1 parent
8199bf7
commit 5f12540
Showing
4 changed files
with
40 additions
and
44 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
emma-sketchbook/src/main/scala/eu/stratosphere/emma/examples/tpch/query01/GrpKey.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package eu.stratosphere.emma.examples.tpch.query01 | ||
|
||
case class GrpKey( | ||
returnFlag: String, | ||
lineStatus: String) {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
emma-sketchbook/src/main/scala/eu/stratosphere/emma/examples/tpch/query01/Result.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package eu.stratosphere.emma.examples.tpch.query01 | ||
|
||
case class Result( | ||
returnFlag: String, | ||
lineStatus: String, | ||
sumQty: Int, | ||
sumBasePrice: Double, | ||
sumDiscPrice: Double, | ||
sumCharge: Double, | ||
avgQty: Double, | ||
avgPrice: Double, | ||
avgDisc: Double, | ||
countOrder: Long) {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters