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

Max Gekk updated SPARK-57570:
-----------------------------
    Description: 
h2. What

Support {{TimeType}} in vectorized-reader column population (partition, 
missing, and constant
columns filled into a columnar batch).

h2. Where

{{ColumnVectorUtils.populate}} / {{toBatch}}
(sql/core/.../execution/vectorized/ColumnVectorUtils.java, around line 135) 
populates
partition/missing columns in the vectorized read path.

h2. Relationship to SPARK-54203

This area is gated at the row-to-columnar converter level by SPARK-54203
({{RowToColumnConverter.getConverterForType}} in
sql/core/src/main/scala/org/apache/spark/sql/execution/Columnar.scala), which 
currently has
no {{TimeType}} case. Once SPARK-54203 lands, the work below becomes possible. 
It may also
require TIME support in this component's own layer (Arrow type mapping, 
Parquet/ORC logical
types, or Variant encoding).

h2. Acceptance criteria

* Vectorized reads with TIME partition/missing/constant columns populate 
correctly.
* Tests added in ColumnarBatchSuite / the vectorized reader suites.

> Support TimeType in vectorized-reader column population
> -------------------------------------------------------
>
>                 Key: SPARK-57570
>                 URL: https://issues.apache.org/jira/browse/SPARK-57570
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 4.1.0
>            Reporter: Max Gekk
>            Priority: Major
>
> h2. What
> Support {{TimeType}} in vectorized-reader column population (partition, 
> missing, and constant
> columns filled into a columnar batch).
> h2. Where
> {{ColumnVectorUtils.populate}} / {{toBatch}}
> (sql/core/.../execution/vectorized/ColumnVectorUtils.java, around line 135) 
> populates
> partition/missing columns in the vectorized read path.
> h2. Relationship to SPARK-54203
> This area is gated at the row-to-columnar converter level by SPARK-54203
> ({{RowToColumnConverter.getConverterForType}} in
> sql/core/src/main/scala/org/apache/spark/sql/execution/Columnar.scala), which 
> currently has
> no {{TimeType}} case. Once SPARK-54203 lands, the work below becomes 
> possible. It may also
> require TIME support in this component's own layer (Arrow type mapping, 
> Parquet/ORC logical
> types, or Variant encoding).
> h2. Acceptance criteria
> * Vectorized reads with TIME partition/missing/constant columns populate 
> correctly.
> * Tests added in ColumnarBatchSuite / the vectorized reader suites.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to