You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "pralabhkumar (Jira)" <ji...@apache.org> on 2021/09/11 06:55:00 UTC

[jira] [Commented] (SPARK-32285) Add PySpark support for nested timestamps with arrow

    [ https://issues.apache.org/jira/browse/SPARK-32285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17413482#comment-17413482 ] 

pralabhkumar commented on SPARK-32285:
--------------------------------------

[~hyukjin.kwon] [~emkornfield@gmail.com]

I would like to work on this . Have most of logic ready for ArrayType(TimeStamp) . 

 

Please let me know ,if I can work on this . 

> Add PySpark support for nested timestamps with arrow
> ----------------------------------------------------
>
>                 Key: SPARK-32285
>                 URL: https://issues.apache.org/jira/browse/SPARK-32285
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark, SQL
>    Affects Versions: 3.0.0
>            Reporter: Bryan Cutler
>            Priority: Major
>
> Currently with arrow optimizations, there is post-processing done in pandas for timestamp columns to localize timezone. This is not done for nested columns with timestamps such as StructType or ArrayType.
> Adding support for this is needed for Apache Arrow 1.0.0 upgrade due to use of structs with timestamps in groupedby key over a window.
> As a simple first step, timestamps with 1 level nesting could be done first and this will satisfy the immediate need.
> NOTE: with Arrow 1.0.0, it might be possible to do the timezone processing with pyarrow.array.cast, which could be easier done than in pandas.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org