Skip to content

Commit

Permalink
[SPARK-47345][SQL][TESTS][FOLLOW-UP] Rename JSON to XML within XmlFun…
Browse files Browse the repository at this point in the history
…ctionsSuite

### What changes were proposed in this pull request?

This PR is a followup of #45466 that addresses #45466 (comment). It renames a test name from JSON to XML within `XmlFunctionsSuite`

### Why are the changes needed?

To have the correct test title so we don't get confused why/which test failed.

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

No, test-only.

### How was this patch tested?

CI in this PR should validate the change.

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

No.

Closes #45577 from HyukjinKwon/SPARK-47345-followup.

Authored-by: Hyukjin Kwon <gurwls223@apache.org>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
  • Loading branch information
HyukjinKwon authored and dongjoon-hyun committed Mar 19, 2024
1 parent 9f8147c commit e01ed0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ class XmlFunctionsSuite extends QueryTest with SharedSparkSession {
)
}

test("schema_of_xml - infers the schema of foldable JSON string") {
test("schema_of_xml - infers the schema of foldable XML string") {
val input = regexp_replace(
lit("""<ROW><item_id>1</item_id><item_price>0.1</item_price></ROW>"""), "item_", "")
checkAnswer(
Expand Down

0 comments on commit e01ed0d

Please sign in to comment.