Re: [PR] [SPARK-47890][CONNECT][PYTHON] Add variant functions to Scala and Python. [spark]

2024-04-22 Thread via GitHub
HyukjinKwon closed pull request #46123: [SPARK-47890][CONNECT][PYTHON] Add variant functions to Scala and Python. URL: https://github.com/apache/spark/pull/46123 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

Re: [PR] [SPARK-47890][CONNECT][PYTHON] Add variant functions to Scala and Python. [spark]

2024-04-22 Thread via GitHub
HyukjinKwon commented on PR #46123: URL: https://github.com/apache/spark/pull/46123#issuecomment-2068681257 Merged 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

Re: [PR] [SPARK-47890][CONNECT][PYTHON] Add variant functions to Scala and Python. [spark]

2024-04-21 Thread via GitHub
itholic commented on code in PR #46123: URL: https://github.com/apache/spark/pull/46123#discussion_r1574132243 ## python/pyspark/sql/tests/test_functions.py: ## @@ -1315,6 +1315,35 @@ def test_parse_json(self): self.assertEqual("""{"a":1}""", actual["var"])

Re: [PR] [SPARK-47890][CONNECT][PYTHON] Add variant functions to Scala and Python. [spark]

2024-04-21 Thread via GitHub
zhengruifeng commented on code in PR #46123: URL: https://github.com/apache/spark/pull/46123#discussion_r1574083962 ## connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/functions.scala: ## @@ -6975,6 +6975,71 @@ object functions { */ def parse_json(json:

Re: [PR] [SPARK-47890][CONNECT][PYTHON] Add variant functions to Scala and Python. [spark]

2024-04-21 Thread via GitHub
chenhao-db commented on code in PR #46123: URL: https://github.com/apache/spark/pull/46123#discussion_r1574033907 ## python/pyspark/sql/tests/test_functions.py: ## @@ -1315,6 +1315,35 @@ def test_parse_json(self): self.assertEqual("""{"a":1}""", actual["var"])

Re: [PR] [SPARK-47890][CONNECT][PYTHON] Add variant functions to Scala and Python. [spark]

2024-04-21 Thread via GitHub
itholic commented on code in PR #46123: URL: https://github.com/apache/spark/pull/46123#discussion_r1574020712 ## python/pyspark/sql/tests/test_functions.py: ## @@ -1315,6 +1315,35 @@ def test_parse_json(self): self.assertEqual("""{"a":1}""", actual["var"])

Re: [PR] [SPARK-47890][CONNECT][PYTHON] Add variant functions to Scala and Python. [spark]

2024-04-21 Thread via GitHub
chenhao-db commented on PR #46123: URL: https://github.com/apache/spark/pull/46123#issuecomment-2068317353 @zhengruifeng @LuciferYang Could you help take another look? Thanks! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub

Re: [PR] [SPARK-47890][CONNECT][PYTHON] Add variant functions to Scala and Python. [spark]

2024-04-19 Thread via GitHub
chenhao-db commented on code in PR #46123: URL: https://github.com/apache/spark/pull/46123#discussion_r1572455657 ## connector/connect/client/jvm/src/test/scala/org/apache/spark/sql/PlanGenerationTestSuite.scala: ## @@ -2485,6 +2485,30 @@ class PlanGenerationTestSuite

Re: [PR] [SPARK-47890][CONNECT][PYTHON] Add variant functions to Scala and Python. [spark]

2024-04-19 Thread via GitHub
LuciferYang commented on code in PR #46123: URL: https://github.com/apache/spark/pull/46123#discussion_r1571874614 ## connector/connect/client/jvm/src/test/scala/org/apache/spark/sql/PlanGenerationTestSuite.scala: ## @@ -2485,6 +2485,30 @@ class PlanGenerationTestSuite

Re: [PR] [SPARK-47890][CONNECT][PYTHON] Add variant functions to Scala and Python. [spark]

2024-04-18 Thread via GitHub
chenhao-db commented on code in PR #46123: URL: https://github.com/apache/spark/pull/46123#discussion_r1571848958 ## connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/functions.scala: ## @@ -6975,6 +6975,71 @@ object functions { */ def parse_json(json:

Re: [PR] [SPARK-47890][CONNECT][PYTHON] Add variant functions to Scala and Python. [spark]

2024-04-18 Thread via GitHub
LuciferYang commented on code in PR #46123: URL: https://github.com/apache/spark/pull/46123#discussion_r1571817704 ## connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/functions.scala: ## @@ -6975,6 +6975,71 @@ object functions { */ def parse_json(json:

Re: [PR] [SPARK-47890][CONNECT][PYTHON] Add variant functions to Scala and Python. [spark]

2024-04-18 Thread via GitHub
chenhao-db commented on code in PR #46123: URL: https://github.com/apache/spark/pull/46123#discussion_r1571796823 ## connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/functions.scala: ## @@ -6975,6 +6975,71 @@ object functions { */ def parse_json(json:

Re: [PR] [SPARK-47890][CONNECT][PYTHON] Add variant functions to Scala and Python. [spark]

2024-04-18 Thread via GitHub
chenhao-db commented on PR #46123: URL: https://github.com/apache/spark/pull/46123#issuecomment-2065768058 @zhengruifeng Thanks! Please take another look. -- 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

Re: [PR] [SPARK-47890][CONNECT][PYTHON] Add variant functions to Scala and Python. [spark]

2024-04-18 Thread via GitHub
chenhao-db commented on code in PR #46123: URL: https://github.com/apache/spark/pull/46123#discussion_r1571795604 ## python/docs/source/reference/pyspark.sql/functions.rst: ## @@ -533,6 +533,11 @@ JSON Functions json_object_keys json_tuple parse_json +

Re: [PR] [SPARK-47890][CONNECT][PYTHON] Add variant functions to Scala and Python. [spark]

2024-04-18 Thread via GitHub
zhengruifeng commented on code in PR #46123: URL: https://github.com/apache/spark/pull/46123#discussion_r1571680929 ## sql/core/src/main/scala/org/apache/spark/sql/functions.scala: ## @@ -6604,6 +6604,71 @@ object functions { */ def parse_json(json: Column): Column =

Re: [PR] [SPARK-47890][CONNECT][PYTHON] Add variant functions to Scala and Python. [spark]

2024-04-18 Thread via GitHub
zhengruifeng commented on code in PR #46123: URL: https://github.com/apache/spark/pull/46123#discussion_r1571680727 ## connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/functions.scala: ## @@ -6975,6 +6975,71 @@ object functions { */ def parse_json(json:

Re: [PR] [SPARK-47890][CONNECT][PYTHON] Add variant functions to Scala and Python. [spark]

2024-04-18 Thread via GitHub
zhengruifeng commented on code in PR #46123: URL: https://github.com/apache/spark/pull/46123#discussion_r1571679330 ## python/docs/source/reference/pyspark.sql/functions.rst: ## @@ -533,6 +533,11 @@ JSON Functions json_object_keys json_tuple parse_json +

Re: [PR] [SPARK-47890][CONNECT][PYTHON] Add variant functions to Scala and Python. [spark]

2024-04-18 Thread via GitHub
HyukjinKwon commented on code in PR #46123: URL: https://github.com/apache/spark/pull/46123#discussion_r1571532818 ## python/pyspark/sql/functions/builtin.py: ## @@ -15452,6 +15452,135 @@ def parse_json( return _invoke_function("parse_json", _to_java_column(col))

Re: [PR] [SPARK-47890][CONNECT][PYTHON] Add variant functions to Scala and Python. [spark]

2024-04-18 Thread via GitHub
chenhao-db commented on PR #46123: URL: https://github.com/apache/spark/pull/46123#issuecomment-2065464556 @HyukjinKwon could you help review? 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