Skip to content

Commit

Permalink
[FLINK-3241] Fix Scala 2.11 build by moving some flink-table classes …
Browse files Browse the repository at this point in the history
…into the right directory
  • Loading branch information
rmetzger committed Jan 19, 2016
1 parent 046f044 commit 018f1fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Expand Up @@ -59,13 +59,16 @@ public static String getSqlExecutionPlan(String t, Boolean extended) throws Exce

//drop the hashcode of object instance
int dele = tempNode.getContents().indexOf("@");
if (dele > -1) content = tempNode.getContents().substring(0, dele);
if (dele > -1) {
content = tempNode.getContents().substring(0, dele);
}

//replace with certain content if node is dataSource to pass
//unit tests, because java and scala use different api to
//get input element
if (tempNode.getPact().equals("Data Source"))
if (tempNode.getPact().equals("Data Source")) {
content = "collect elements with CollectionInputFormat";
}
pw.print("content : " + content + "\n");

List<Predecessors> predecessors = tempNode.getPredecessors();
Expand Down

0 comments on commit 018f1fe

Please sign in to comment.