Re: Exception with Java Table API example

2015-04-12 Thread Mohamed Nadjib MAMI
Hello, Suit to my previous email, apologize, the error was in: /Table table = tableEnv.toTable(input);/ Cheers, Mohamed On 12.04.2015 21:33, Mohamed Nadjib MAMI wrote: Hello all, I've just tried the example of Java Table API as-is on the docs but I'm getting this exception: /Exception in

Exception with Java Table API example

2015-04-12 Thread Mohamed Nadjib MAMI
Hello all, I've just tried the example of Java Table API as-is on the docs but I'm getting this exception: /Exception in thread "main" java.lang.NoSuchMethodError: scala.runtime.BooleanRef.create(Z)Lscala/runtime/BooleanRef;// //at org.apache.flink.api.table.trees.TreeNode.exists(TreeNod

Re: how can Handling in flink this operation in sql bettween ,like , In

2015-04-12 Thread hagersaleh
Thank you very much example on like and in operation -- View this message in context: http://apache-flink-incubator-user-mailing-list-archive.2336050.n4.nabble.com/how-can-Handling-in-flink-this-operation-in-sql-bettween-like-In-tp985p987.html Sent from the Apache Flink (Incubator) User Mailing

Re: how can Handling in flink this operation in sql bettween ,like , In

2015-04-12 Thread Robert Metzger
Hi, all these operations can be implemented in Flink using the "filter()" function. For example BETWEEN: DataSet products = env.createFromElements(...); products..filter(new FilterFunction() { @Override public boolean filter(Product value) throws Exception { return value.price >= 10

how can Handling in flink this operation in sql bettween ,like , In

2015-04-12 Thread hagersaleh
1- BETWEEN Operator Sql Example SELECT * FROM Products WHERE Price BETWEEN 10 AND 20; 2- The SQL LIKE Operator Example SELECT * FROM Customers WHERE City LIKE 's%'; 3-IN Operator Example SELECT * FROM Customers WHERE City IN ('Paris','London'); -- View this message in context: http://apac