[ 
https://issues.apache.org/jira/browse/SPARK-35615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xinrong Meng updated SPARK-35615:
---------------------------------
    Description: 
We have been refactoring basic operators to be data-type-based for readability, 
flexibility, and extensibility.

Unary and comparison operators are still not data-type-based yet. We should 
fill the gaps.
 * Unary operators: {{__neg__}}, {{__abs__}}, {{__invert__}},
 * Comparison operators: {{>}}, {{>=}}, {{<}}, {{<=}}, {{==}}, {{!=}}

  was:
python/pyspark/pandas/data_type_ops/base.py and python/pyspark/pandas/base.py 
don't have a clear boundary now.

We ought to revisit these two files and refactor them for better abstraction.

All basic operators in python/pyspark/pandas/data_type_ops/base.py.

- Spark column, isnull


> Make unary and comparison operators data-type-based
> ---------------------------------------------------
>
>                 Key: SPARK-35615
>                 URL: https://issues.apache.org/jira/browse/SPARK-35615
>             Project: Spark
>          Issue Type: Sub-task
>          Components: PySpark
>    Affects Versions: 3.2.0
>            Reporter: Xinrong Meng
>            Priority: Major
>
> We have been refactoring basic operators to be data-type-based for 
> readability, flexibility, and extensibility.
> Unary and comparison operators are still not data-type-based yet. We should 
> fill the gaps.
>  * Unary operators: {{__neg__}}, {{__abs__}}, {{__invert__}},
>  * Comparison operators: {{>}}, {{>=}}, {{<}}, {{<=}}, {{==}}, {{!=}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to