chenkovsky opened a new pull request, #15120: URL: https://github.com/apache/datafusion/pull/15120
## Which issue does this PR close? ## Rationale for this change when we use dataframe API, we need to edit metadata on fields (e.g. to indicate a UTF8 columns is JSON data). In spark, it allows user to customize metadata in alias. https://spark.apache.org/docs/latest/api/python/reference/pyspark.sql/api/pyspark.sql.Column.alias.html This PR adds this feature to datafusion. ## What changes are included in this PR? add an alias function that accepts metadata. ## Are these changes tested? unit test ## Are there any user-facing changes? new api is introduced. -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org