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
LICENSE-AnchorJS.txt -rw-r--r-- 1.1 KB
LICENSE-CC0.txt -rw-r--r-- 6.9 KB
LICENSE-bootstrap.txt -rw-r--r-- 1.1 KB
LICENSE-cloudpickle.txt -rw-r--r-- 1.6 KB
LICENSE-d3.min.js.txt -rw-r--r-- 731 bytes
LICENSE-dagre-d3.txt -rw-r--r-- 1.0 KB
LICENSE-datatables.txt -rw-r--r-- 1.3 KB
LICENSE-graphlib-dot.txt -rw-r--r-- 1.0 KB
LICENSE-jdom.txt -rw-r--r-- 2.5 KB
LICENSE-join.txt -rw-r--r-- 1.5 KB
LICENSE-jquery.txt -rw-r--r-- 1.1 KB
LICENSE-json-formatter.txt -rw-r--r-- 547 bytes
LICENSE-loose-version.txt -rw-r--r-- 13.6 KB
LICENSE-matchMedia-polyfill.txt -rw-r--r-- 149 bytes
LICENSE-modernizr.txt -rw-r--r-- 1.1 KB
LICENSE-mustache.txt -rw-r--r-- 1.2 KB
LICENSE-py4j.txt -rw-r--r-- 1.4 KB
LICENSE-respond.txt -rw-r--r-- 1.0 KB
LICENSE-sbt-launch-lib.txt -rw-r--r-- 1.5 KB
LICENSE-sorttable.js.txt -rw-r--r-- 937 bytes
LICENSE-vis-timeline.txt -rw-r--r-- 544 bytes

back to top