comphead opened a new issue, #1454:
URL: https://github.com/apache/datafusion-comet/issues/1454
### What is the problem the feature request solves?
Currently array type not supported when reading complex types with native
reader
Reading a data with schema
```
root
|-- id: integer (nullable = true)
|-- first_name: string (nullable = true)
|-- personal_info: struct (nullable = true)
| |-- firstName: string (nullable = true)
| |-- lastName: string (nullable = true)
| |-- ageInYears: integer (nullable = true)
|-- firstName: string (nullable = true)
```
I would expect a native scan
```
== Physical Plan ==
* CometColumnarToRow (3)
+- CometProject (2)
+- CometNativeScan: (1)
```
Because of array in schema the plan falls back to Spark
```
== Physical Plan ==
* Project (3)
+- * ColumnarToRow (2)
+- Scan parquet (1)
```
### Describe the potential solution
_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]