Closed merelcht closed 2 years ago
Hi @deepyaman, how often have you seen this issue happen?
@MerelTheisenQB Sorry for missing this. TBH I've only ever seen it occur in this one instance that @miroslav-kral raised.
Thanks @deepyaman! In that case I'll close this issue for now, and we can always re-open it if it happens more frequently.
Sorry I've seen this quite a lot! I would love to see a better message suggesting different options available
User was trying to pass a list of Spark DataFrames and received a confusing
From Slack thread:
In memory dataset we fix this issue when it's a single DataFrame being returned implicitly:
However because this is an iterable, we hit the else condition.
We could get in a a game where we start type checking iterable items, but it doesn't scale to all cases.
One option is to catch a RuntimeError and suggest you explicitly declare the assign copy mode