Could be useful to document here how the "name" for the returned field is supposed to be set :) _Originally posted by @Blizzara in https://github.com/apache/datafusion/pull/12374#discussion_r1771016885_