[jira] [Commented] (SPARK-12218) Boolean logic in sql does not work "not (A and B)" is not the same as "(not A) or (not B)"

2015-12-16 Thread Apache Spark (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15061415#comment-15061415 ] Apache Spark commented on SPARK-12218: -- User 'gatorsmile' has created a pull request for this issue:

[jira] [Commented] (SPARK-12218) Boolean logic in sql does not work "not (A and B)" is not the same as "(not A) or (not B)"

2015-12-12 Thread Xiao Li (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15054142#comment-15054142 ] Xiao Li commented on SPARK-12218: - Found the fix, but that fix is not merged into 1.5.2. Tomorrow I will

[jira] [Commented] (SPARK-12218) Boolean logic in sql does not work "not (A and B)" is not the same as "(not A) or (not B)"

2015-12-11 Thread Irakli Machabeli (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15052759#comment-15052759 ] Irakli Machabeli commented on SPARK-12218: -- The bug itself is really dangerous, it's ok if it

[jira] [Commented] (SPARK-12218) Boolean logic in sql does not work "not (A and B)" is not the same as "(not A) or (not B)"

2015-12-11 Thread Xiao Li (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15052763#comment-15052763 ] Xiao Li commented on SPARK-12218: - Agree! I will do a search to find out what happened in the push down

[jira] [Commented] (SPARK-12218) Boolean logic in sql does not work "not (A and B)" is not the same as "(not A) or (not B)"

2015-12-10 Thread Xiao Li (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15052181#comment-15052181 ] Xiao Li commented on SPARK-12218: - Yeah, I hope so. > Boolean logic in sql does not work "not (A and

[jira] [Commented] (SPARK-12218) Boolean logic in sql does not work "not (A and B)" is not the same as "(not A) or (not B)"

2015-12-10 Thread Hyukjin Kwon (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15052172#comment-15052172 ] Hyukjin Kwon commented on SPARK-12218: -- Then, does this mean closing this issue? [~smilegator] >

[jira] [Commented] (SPARK-12218) Boolean logic in sql does not work "not (A and B)" is not the same as "(not A) or (not B)"

2015-12-09 Thread Xiao Li (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15048256#comment-15048256 ] Xiao Li commented on SPARK-12218: - That is what I did in my environment. {code} val df1 = Seq(1, 2,

[jira] [Commented] (SPARK-12218) Boolean logic in sql does not work "not (A and B)" is not the same as "(not A) or (not B)"

2015-12-09 Thread Irakli Machabeli (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15048619#comment-15048619 ] Irakli Machabeli commented on SPARK-12218: -- I'm afraid I don't really know what that means,

[jira] [Commented] (SPARK-12218) Boolean logic in sql does not work "not (A and B)" is not the same as "(not A) or (not B)"

2015-12-09 Thread Xiao Li (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15048974#comment-15048974 ] Xiao Li commented on SPARK-12218: - Thanks for the info! I will reproduce it soon. Will keep you posted. :

[jira] [Commented] (SPARK-12218) Boolean logic in sql does not work "not (A and B)" is not the same as "(not A) or (not B)"

2015-12-09 Thread Xiao Li (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15049029#comment-15049029 ] Xiao Li commented on SPARK-12218: - Hi, [~imachabeli] Sorry, in the latest 1.6 build, I am unable to

[jira] [Commented] (SPARK-12218) Boolean logic in sql does not work "not (A and B)" is not the same as "(not A) or (not B)"

2015-12-09 Thread Xiao Li (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15049201#comment-15049201 ] Xiao Li commented on SPARK-12218: - Great! That means, the problem has been resolved in Spark 1.6, which

[jira] [Commented] (SPARK-12218) Boolean logic in sql does not work "not (A and B)" is not the same as "(not A) or (not B)"

2015-12-09 Thread Irakli Machabeli (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15049194#comment-15049194 ] Irakli Machabeli commented on SPARK-12218: -- {code} scala> val df =

[jira] [Commented] (SPARK-12218) Boolean logic in sql does not work "not (A and B)" is not the same as "(not A) or (not B)"

2015-12-09 Thread Xiao Li (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15049038#comment-15049038 ] Xiao Li commented on SPARK-12218: - Below is the tree I got. Both explain returns the same tree except the

[jira] [Commented] (SPARK-12218) Boolean logic in sql does not work "not (A and B)" is not the same as "(not A) or (not B)"

2015-12-08 Thread Xiao Li (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15047928#comment-15047928 ] Xiao Li commented on SPARK-12218: - Could you provide the plan by explain(true)? [~imachabeli] Thanks! >