apache / datafusion

Apache DataFusion SQL Query Engine
https://datafusion.apache.org/
Apache License 2.0
6.33k stars 1.2k forks source link

Unparse struct to sql #13493

Closed delamarch3 closed 15 hours ago

delamarch3 commented 2 days ago

Which issue does this PR close?

Closes #13477

Rationale for this change

Support roundtrip for statements containing named_struct and get_field

What changes are included in this PR?

Implement expr_to_sql for named_struct and get_field

Are these changes tested?

Yes

Are there any user-facing changes?

No

delamarch3 commented 1 day ago

Thanks @jonathanc-n, I've updated the errors

delamarch3 commented 18 hours ago

Thanks for the review @goldmedal

alamb commented 15 hours ago

🚀