Revision bfa0d13f3f6b4b662ad0f355a8db00dd1244a698 authored by Herman van Hovell on 06 August 2024, 01:54:09 UTC, committed by Hyukjin Kwon on 06 August 2024, 01:54:09 UTC
### What changes were proposed in this pull request?
We allow the `JsonToStructs` and `XmlToStructs` expressions to use a json schema.

### Why are the changes needed?
A couple of reasons:
- We want to use a reference to the `from_json` and `from_xml` methods in the Column API in order to make unification of the Classic and Connect Scala clients possible.
- Reduce the amount of duplication between the Function API and the SparkConnectPlanner.
- Make DataFrame and SQL API behave the same.

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Existing tests.

### Was this patch authored or co-authored using generative AI tooling?
No

Closes #47573 from hvanhovell/SPARK-49083.

Authored-by: Herman van Hovell <herman@databricks.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
1 parent da5912a
History
File Mode Size
beeline -rwxr-xr-x 1.1 KB
beeline.cmd -rw-r--r-- 1.0 KB
docker-image-tool.sh -rwxr-xr-x 10.7 KB
find-spark-home -rwxr-xr-x 1.9 KB
find-spark-home.cmd -rw-r--r-- 2.6 KB
load-spark-env.cmd -rw-r--r-- 2.3 KB
load-spark-env.sh -rw-r--r-- 2.7 KB
pyspark -rwxr-xr-x 3.6 KB
pyspark.cmd -rw-r--r-- 1.1 KB
pyspark2.cmd -rw-r--r-- 1.5 KB
run-example -rwxr-xr-x 1.0 KB
run-example.cmd -rw-r--r-- 1.2 KB
spark-class -rwxr-xr-x 3.5 KB
spark-class.cmd -rw-r--r-- 1.1 KB
spark-class2.cmd -rwxr-xr-x 3.4 KB
spark-connect-shell -rwxr-xr-x 1.0 KB
spark-shell -rwxr-xr-x 3.0 KB
spark-shell.cmd -rw-r--r-- 1.1 KB
spark-shell2.cmd -rw-r--r-- 1.7 KB
spark-sql -rwxr-xr-x 1.0 KB
spark-sql.cmd -rw-r--r-- 1.1 KB
spark-sql2.cmd -rw-r--r-- 1.1 KB
spark-submit -rwxr-xr-x 1.0 KB
spark-submit.cmd -rw-r--r-- 1.1 KB
spark-submit2.cmd -rw-r--r-- 1.1 KB
sparkR -rwxr-xr-x 1.0 KB
sparkR.cmd -rw-r--r-- 1.1 KB
sparkR2.cmd -rw-r--r-- 1.0 KB

back to top