How to rename fields in a column containing an array of structs #10319
Answered
by
cpcloud
stephen-bowser
asked this question in
Q&A
-
After using the array zip function, it would be helpful to be able to rename the fields back to something more intuitive, since this function changes the field names to f1, f2 etc. What is the best way of doing this? |
Beta Was this translation helpful? Give feedback.
Answered by
cpcloud
Oct 31, 2024
Replies: 1 comment
-
Renaming struct fields seems like a good feature request. An implementation might look something like constructing a new struct with the desired names, using the fields of the to-be-renamed-struct. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cpcloud
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Renaming struct fields seems like a good feature request. An implementation might look something like constructing a new struct with the desired names, using the fields of the to-be-renamed-struct.