Dataframes filter by count fails with python API

2015-06-29 Thread Andrew Vykhodtsev
Dear developers, I found the following behaviour that I think is a minor bug. If I apply groupBy and count in python API, the resulting data frame has grouped columns and the field named count. Filtering by that field does not work because it thinks it is a key word: x =

Re: Dataframes filter by count fails with python API

2015-06-29 Thread Reynold Xin
Hi Andrew, Thanks for the email. This is a known bug with the expression parser. We will hopefully fix this in 1.5. There are more keywords with the expression parser, and we have already got rid of most of them. Count is still there due to the handling of count distinct, but we plan to get rid