Skip to content

Commit

Permalink
[hotfix] Fix failing Table API test and checkstyle violation
Browse files Browse the repository at this point in the history
  • Loading branch information
twalthr committed Aug 2, 2016
1 parent 36c09b0 commit 31837a7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ import org.apache.flink.streaming.api.scala.{DataStream, StreamExecutionEnvironm
*/
object StreamSQLExample {

// *************************************************************************
// PROGRAM
// *************************************************************************
// *************************************************************************
// PROGRAM
// *************************************************************************

def main(args: Array[String]): Unit = {

Expand Down Expand Up @@ -67,9 +67,9 @@ object StreamSQLExample {
env.execute()
}

// *************************************************************************
// USER DATA TYPES
// *************************************************************************
// *************************************************************************
// USER DATA TYPES
// *************************************************************************

case class Order(user: Long, product: String, amount: Int)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public void testPojoAggregation() throws Exception {

Table filtered = table
.groupBy("word")
.select("word.frequency as frequency, word")
.select("word.count as frequency, word")
.filter("frequency = 2");

List<String> result = tableEnv.toDataSet(filtered, WC.class)
Expand Down

0 comments on commit 31837a7

Please sign in to comment.