提交 31837a75 编写于 作者: T twalthr

[hotfix] Fix failing Table API test and checkstyle violation

上级 36c09b09
......@@ -33,9 +33,9 @@ import org.apache.flink.streaming.api.scala.{DataStream, StreamExecutionEnvironm
*/
object StreamSQLExample {
// *************************************************************************
// PROGRAM
// *************************************************************************
// *************************************************************************
// PROGRAM
// *************************************************************************
def main(args: Array[String]): Unit = {
......@@ -67,9 +67,9 @@ object StreamSQLExample {
env.execute()
}
// *************************************************************************
// USER DATA TYPES
// *************************************************************************
// *************************************************************************
// USER DATA TYPES
// *************************************************************************
case class Order(user: Long, product: String, amount: Int)
......
......@@ -196,7 +196,7 @@ public class AggregationsITCase extends MultipleProgramsTestBase {
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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册