Re: [PR] [SPARK-47769][SQL] Add schema_of_variant_agg expression. [spark]

2024-04-15 Thread via GitHub
cloud-fan closed pull request #45934: [SPARK-47769][SQL] Add schema_of_variant_agg expression. URL: https://github.com/apache/spark/pull/45934 -- 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 spe

Re: [PR] [SPARK-47769][SQL] Add schema_of_variant_agg expression. [spark]

2024-04-15 Thread via GitHub
cloud-fan commented on PR #45934: URL: https://github.com/apache/spark/pull/45934#issuecomment-2058274239 thanks, merging to master! -- 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 c

Re: [PR] [SPARK-47769][SQL] Add schema_of_variant_agg expression. [spark]

2024-04-15 Thread via GitHub
chenhao-db commented on PR #45934: URL: https://github.com/apache/spark/pull/45934#issuecomment-2058116518 @cloud-fan could you help merge it? Thanks! -- 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

Re: [PR] [SPARK-47769][SQL] Add schema_of_variant_agg expression. [spark]

2024-04-14 Thread via GitHub
chenhao-db commented on code in PR #45934: URL: https://github.com/apache/spark/pull/45934#discussion_r1565144329 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/variant/variantExpressions.scala: ## @@ -489,3 +492,67 @@ object SchemaOfVariant { def me

Re: [PR] [SPARK-47769][SQL] Add schema_of_variant_agg expression. [spark]

2024-04-14 Thread via GitHub
cloud-fan commented on code in PR #45934: URL: https://github.com/apache/spark/pull/45934#discussion_r1565141180 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/variant/variantExpressions.scala: ## @@ -489,3 +492,67 @@ object SchemaOfVariant { def mer

[PR] [SPARK-47769][SQL] Add schema_of_variant_agg expression. [spark]

2024-04-08 Thread via GitHub
chenhao-db opened a new pull request, #45934: URL: https://github.com/apache/spark/pull/45934 ### What changes were proposed in this pull request? This PR adds a new `schema_of_variant_agg` expression. It returns the merged schema in the SQL format of a variant column. Compared to `sc