Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/18462#discussion_r125511395
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/DatasetSuite.scala
---
@@ -321,6 +321,19 @@ class DatasetSuite extends QueryTest with
SharedSQLContext {
((("b", 2), ("b", 2)), ("b", 2)))
}
+ test("joinWith join types") {
+ val ds1 = Seq(1, 2, 3).toDS().as("a")
+ val ds2 = Seq(1, 2).toDS().as("b")
+
+ intercept[AnalysisException] {
--- End diff --
Yeah. Please check the output message.
```
val e = intercept[AnalysisException] {
...
}.getMessages
assert(e.contains("xyz"))
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]