Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR fixes `IndexOpsMixin.all()` and `any()` to work the chain of operations, e.g.,: ```py >>> (ks.Series([1,2,3]) % 2 == 0).all() ``` This fails with the following error. ``` Traceback (most recent call last): File "/Users/ueshin/workspace/databricks-koalas/miniconda/envs/databricks-koalas_3.6/lib/python3.6/site-packages/pyspark/sql/utils.py", line 63, in deco return f(*a, **kw) File "/Users/ueshin/workspace/databricks-koalas/miniconda/envs/databricks-koalas_3.6/lib/python3.6/site-packages/py4j/protocol.py", line 328, in get_return_value format(target_id, ".", name), value) py4j.protocol.Py4JJavaError: An error occurred while calling o143.select. : org.apache.spark.sql.AnalysisException: Resolved attribute(s) 0#14L missing from ((0 % 2) = 0)#22 in operator !Aggregate [min(coalesce(cast(((0#14L % cast(2 as bigint)) = cast(0 as bigint)) as boolean), true)) AS min(coalesce(CAST(((0 % 2) = 0) AS BOOLEAN), true))#25].;; !Aggregate [min(coalesce(cast(((0#14L % cast(2 as bigint)) = cast(0 as bigint)) as boolean), true)) AS min(coalesce(CAST(((0 % 2) = 0) AS BOOLEAN), true))#25] +- Project [((0#14L % cast(2 as bigint)) = cast(0 as bigint)) AS ((0 % 2) = 0)#22] +- LogicalRDD [__index_level_0__#13L, 0#14L], false ```
- Loading branch information