comphead opened a new issue, #20888:
URL: https://github.com/apache/datafusion/issues/20888

   ### Is your feature request related to a problem or challenge?
   
   Followup on https://github.com/apache/datafusion/pull/20886
   
   Spark `arrays_zip` return type is slightly different from DF or DuckDB
   
   ```
   scala> spark.sql("select arrays_zip(array(1, 2, 3), array(2, 3, 4), array(3, 
4, 5))").printSchema
   root
    |-- arrays_zip(array(1, 2, 3), array(2, 3, 4), array(3, 4, 5)): array 
(nullable = false)
    |    |-- element: struct (containsNull = false)
    |    |    |-- 0: integer (nullable = true)
    |    |    |-- 1: integer (nullable = true)
    |    |    |-- 2: integer (nullable = true)
   ```
   
   whereas DF/DuckDB numeration starts with 1.
   
   The idea is to introduce Spark wrapper on top of DF `arrays_zip` and change 
return type
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to