[ https://issues.apache.org/jira/browse/FLINK-2118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15427893#comment-15427893 ]
Renkai Ge commented on FLINK-2118: ---------------------------------- [~sahitya.pavurala] ! have a higher precedence than && by scala specific http://scala-lang.org/files/archive/spec/2.11/06-expressions.html#infix-operations > Table API fails on composite filter conditions > ---------------------------------------------- > > Key: FLINK-2118 > URL: https://issues.apache.org/jira/browse/FLINK-2118 > Project: Flink > Issue Type: Bug > Components: Table API & SQL > Affects Versions: 0.9 > Reporter: Fabian Hueske > > Having a composite filter conditions such as > {code} > myTable.filter('name !== "Pete" && 'name !== "Bob") > {code} > fails with the following error message: > {code} > ExpressionException: Non-boolean operand types String and String in Pete && > 'name > {code} > whereas > {code} > myTable.filter( ('name !== "Pete") && ('name !== "Bob") ) > {code} > works. -- This message was sent by Atlassian JIRA (v6.3.4#6332)