Skip to content

Commit

Permalink
[hotfix] fix e2e test due to removing TableSource & TableSink registr…
Browse files Browse the repository at this point in the history
…ation
  • Loading branch information
KurtYoung committed May 16, 2020
1 parent d17a2e0 commit a7559e5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ public static void main(String[] args) throws Exception {
ExecutionEnvironment env = ExecutionEnvironment.getExecutionEnvironment();
BatchTableEnvironment tEnv = BatchTableEnvironment.create(env);

((TableEnvironmentInternal) tEnv).registerTableSource(
((TableEnvironmentInternal) tEnv).registerTableSourceInternal(
"transactions", new BoundedTransactionTableSource());
((TableEnvironmentInternal) tEnv).registerTableSink(
((TableEnvironmentInternal) tEnv).registerTableSinkInternal(
"spend_report", new SpendReportTableSink());
tEnv.registerFunction("truncateDateToHour", new TruncateDateToHour());

Expand Down

0 comments on commit a7559e5

Please sign in to comment.