hvanhovell opened a new pull request, #42489:
URL: https://github.com/apache/spark/pull/42489
### What changes were proposed in this pull request?
When you define a class in the REPL, for example:
```scala
case class MyTestClass(value: Int)
```
This is actually declared inside the command class. For example in ammonite
the structure looks like this:
```scala
object command2 {
val wrapper = new command2
val instance = new command.Helper
}
class command2 extends Serializable {
class Helper extends Serializable {
case classMyTestClass(value: Int)
}
}
```
In order to create an instance of `MyTestClass` we need an instance of the
`Helper`.
...still typing...
### Why are the changes needed?
It fixes a bug when you try to use
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Added a test to illustrate the issue.
--
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 comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]