Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2024-03-07 Thread via GitHub
github-actions[bot] closed pull request #42398: [SPARK-42746][SQL] Add the LISTAGG() aggregate function URL: https://github.com/apache/spark/pull/42398 -- 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-42746][SQL] Add the LISTAGG() aggregate function [spark]

2024-03-06 Thread via GitHub
github-actions[bot] commented on PR #42398: URL: https://github.com/apache/spark/pull/42398#issuecomment-1982086020 We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-11-26 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1405586741 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala: ## @@ -2214,6 +2214,30 @@ class AstBuilder extends DataTypeAstBuilder with

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-11-25 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1405287835 ## sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala: ## @@ -158,6 +158,69 @@ class SQLQuerySuite extends QueryTest with SharedSparkSession with

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-11-09 Thread via GitHub
hopefulnick commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1387915950 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala: ## @@ -2214,6 +2214,30 @@ class AstBuilder extends DataTypeAstBuilder with

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-11-08 Thread via GitHub
hopefulnick commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1387425067 ## sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala: ## @@ -158,6 +158,69 @@ class SQLQuerySuite extends QueryTest with SharedSparkSession with

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-31 Thread via GitHub
Hisoka-X commented on PR #42398: URL: https://github.com/apache/spark/pull/42398#issuecomment-1788269081 kindly ping @cloud-fan @MaxGekk @HyukjinKwon -- 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

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-24 Thread via GitHub
beliefer commented on PR #42398: URL: https://github.com/apache/spark/pull/42398#issuecomment-1778406651 cc @cloud-fan @MaxGekk I'm okay with most of this PR. Please help me to review. -- This is an automated message from the Apache Git Service. To respond to the message, please log on

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-24 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1371068875 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala: ## @@ -245,3 +249,115 @@ case class CollectTopK( override def

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-24 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1371026410 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala: ## @@ -245,3 +249,115 @@ case class CollectTopK( override def

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-24 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1370996202 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/FunctionRegistry.scala: ## @@ -478,6 +478,7 @@ object FunctionRegistry {

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-24 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1369777027 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala: ## @@ -36,8 +39,7 @@ import

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-24 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1370071343 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala: ## @@ -245,3 +249,117 @@ case class CollectTopK( override def

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-24 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1370056246 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala: ## @@ -245,3 +249,117 @@ case class CollectTopK( override def

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-24 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1370049863 ## sql/core/src/test/scala/org/apache/spark/sql/DataFrameAggregateSuite.scala: ## @@ -603,6 +603,41 @@ class DataFrameAggregateSuite extends QueryTest ) } +

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-24 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1370043175 ## sql/core/src/test/scala/org/apache/spark/sql/DataFrameAggregateSuite.scala: ## @@ -603,6 +603,41 @@ class DataFrameAggregateSuite extends QueryTest ) } +

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-24 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1370041468 ## sql/core/src/test/scala/org/apache/spark/sql/DataFrameAggregateSuite.scala: ## @@ -603,6 +603,41 @@ class DataFrameAggregateSuite extends QueryTest ) } +

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-24 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1370041468 ## sql/core/src/test/scala/org/apache/spark/sql/DataFrameAggregateSuite.scala: ## @@ -603,6 +603,41 @@ class DataFrameAggregateSuite extends QueryTest ) } +

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-24 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1369980996 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala: ## @@ -245,3 +249,117 @@ case class CollectTopK( override def

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-24 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1369980594 ## sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryCompilationErrors.scala: ## @@ -920,6 +920,18 @@ private[sql] object QueryCompilationErrors extends

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-24 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1369978917 ## sql/core/src/test/scala/org/apache/spark/sql/DataFrameAggregateSuite.scala: ## @@ -603,6 +603,41 @@ class DataFrameAggregateSuite extends QueryTest ) } +

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-24 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1369943722 ## sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryCompilationErrors.scala: ## @@ -920,6 +920,18 @@ private[sql] object QueryCompilationErrors extends

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-24 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1369934056 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala: ## @@ -245,3 +249,117 @@ case class CollectTopK( override def

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-24 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1369925570 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala: ## @@ -2214,6 +2214,40 @@ class AstBuilder extends DataTypeAstBuilder with

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-24 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1369921181 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala: ## @@ -245,3 +249,117 @@ case class CollectTopK( override def

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-24 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1369844354 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala: ## @@ -245,3 +249,98 @@ case class CollectTopK( override def

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-24 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1369777027 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala: ## @@ -36,8 +39,7 @@ import

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-24 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1369774164 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala: ## @@ -245,3 +249,98 @@ case class CollectTopK( override def

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-23 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1369609547 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala: ## @@ -245,3 +249,98 @@ case class CollectTopK( override def

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-23 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1369579705 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala: ## @@ -245,3 +249,98 @@ case class CollectTopK( override def

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-23 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1369493701 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala: ## @@ -245,3 +249,98 @@ case class CollectTopK( override def

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-23 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1369484714 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala: ## @@ -245,3 +249,98 @@ case class CollectTopK( override def

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-23 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1369484714 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala: ## @@ -245,3 +249,98 @@ case class CollectTopK( override def

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-23 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1369459076 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala: ## @@ -245,3 +249,98 @@ case class CollectTopK( override def

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-23 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1369452950 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala: ## @@ -245,3 +249,98 @@ case class CollectTopK( override def

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-23 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1368615704 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala: ## @@ -245,3 +249,98 @@ case class CollectTopK( override def

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-23 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1368607666 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala: ## @@ -245,3 +249,98 @@ case class CollectTopK( override def

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-23 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1368586674 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/collect.scala: ## @@ -245,3 +249,98 @@ case class CollectTopK( override def

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-23 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1368419550 ## sql/api/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBaseParser.g4: ## @@ -988,6 +988,8 @@ primaryExpression | name=(PERCENTILE_CONT |

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-22 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1368090659 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/ListAgg.scala: ## @@ -0,0 +1,109 @@ +/* + * Licensed to the Apache Software

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-13 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1359157402 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/ListAgg.scala: ## @@ -0,0 +1,109 @@ +/* + * Licensed to the Apache Software

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-11 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1355031438 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/ListAgg.scala: ## @@ -0,0 +1,109 @@ +/* + * Licensed to the Apache Software

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-09 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1351167115 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/ListAgg.scala: ## @@ -0,0 +1,109 @@ +/* + * Licensed to the Apache Software

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-09 Thread via GitHub
holdenk commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1351071287 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/ListAgg.scala: ## @@ -0,0 +1,109 @@ +/* + * Licensed to the Apache Software

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-09 Thread via GitHub
holdenk commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1351070023 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/ListAgg.scala: ## @@ -0,0 +1,109 @@ +/* + * Licensed to the Apache Software

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-08 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1349881268 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/ListAgg.scala: ## @@ -0,0 +1,109 @@ +/* + * Licensed to the Apache Software

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-08 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1349839317 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/ListAgg.scala: ## @@ -0,0 +1,109 @@ +/* + * Licensed to the Apache Software

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-08 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1349837194 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/ListAgg.scala: ## @@ -0,0 +1,109 @@ +/* + * Licensed to the Apache Software

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-08 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1349836810 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/ListAgg.scala: ## @@ -0,0 +1,109 @@ +/* + * Licensed to the Apache Software

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-08 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1349836243 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/ListAgg.scala: ## @@ -0,0 +1,109 @@ +/* + * Licensed to the Apache Software

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-08 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1349833814 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/ListAgg.scala: ## @@ -0,0 +1,109 @@ +/* + * Licensed to the Apache Software

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-08 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1349833053 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/ListAgg.scala: ## @@ -0,0 +1,109 @@ +/* + * Licensed to the Apache Software

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-08 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1349832245 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/ListAgg.scala: ## @@ -0,0 +1,109 @@ +/* + * Licensed to the Apache Software

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-08 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1349829226 ## sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala: ## @@ -158,6 +158,57 @@ class SQLQuerySuite extends QueryTest with SharedSparkSession with

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-08 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1349828939 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/ListAgg.scala: ## @@ -0,0 +1,109 @@ +/* + * Licensed to the Apache Software

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-08 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1349828105 ## sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala: ## @@ -158,6 +158,57 @@ class SQLQuerySuite extends QueryTest with SharedSparkSession with

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-08 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1349825602 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/ListAgg.scala: ## @@ -0,0 +1,105 @@ +/* + * Licensed to the Apache Software

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-08 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1349822359 ## sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala: ## @@ -158,6 +158,57 @@ class SQLQuerySuite extends QueryTest with SharedSparkSession with

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-08 Thread via GitHub
Hisoka-X commented on PR #42398: URL: https://github.com/apache/spark/pull/42398#issuecomment-1752261690 > @Hisoka-X Is `LISTAGG` an ANSI standard? Yes, refer https://modern-sql.com/feature/listagg -- This is an automated message from the Apache Git Service. To respond to the

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-08 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1349818074 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/ListAgg.scala: ## @@ -0,0 +1,105 @@ +/* + * Licensed to the Apache Software

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-08 Thread via GitHub
beliefer commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1349817389 ## sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala: ## @@ -158,6 +158,57 @@ class SQLQuerySuite extends QueryTest with SharedSparkSession with

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-08 Thread via GitHub
beliefer commented on PR #42398: URL: https://github.com/apache/spark/pull/42398#issuecomment-1752242004 @Hisoka-X Is `LISTAGG` an ANSI standard? -- 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

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-08 Thread via GitHub
Hisoka-X commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1349810729 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/ListAgg.scala: ## @@ -0,0 +1,105 @@ +/* + * Licensed to the Apache Software

Re: [PR] [SPARK-42746][SQL] Add the LISTAGG() aggregate function [spark]

2023-10-08 Thread via GitHub
khalidmammadov commented on code in PR #42398: URL: https://github.com/apache/spark/pull/42398#discussion_r1349758338 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/ListAgg.scala: ## @@ -0,0 +1,105 @@ +/* + * Licensed to the Apache Software