Canner / wren-engine

🤖 The semantic engine for LLMs, bringing semantic context to AI agents. 🔥
https://getwren.ai/oss
Apache License 2.0
129 stars 34 forks source link

Support the Array of Struct #915

Open goldmedal opened 2 hours ago

goldmedal commented 2 hours ago

Is your feature request related to a problem? Please describe. After https://github.com/Canner/wren-engine/pull/914, we support Array and Struct type. However, the array of struct isn't supported now.

SELECT struct_array[1].f1 from t1

Describe the solution you'd like Because this syntax isn't supported by DataFusion, we should add this on the DataFusion side first.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.