- Le plus récent
- Le plus de votes
- La plupart des commentaires
Hello,
Error 'empty.reduceLeft' is a Scala error which occurs while reducing an empty collection like list, as a collection must have at least one element to perform 'reduce' operation. The error suggests that the data set on left side is empty. Please review your data and its inconsistencies for null/empty fields.
Additionally, please review the below references and inspect your code accordingly:
[1] https://www.garysieling.com/blog/fixing-scala-error-reduce-java-lang-unsupportedoperationexception-empty-reduceleft/ [2] https://stackoverflow.com/questions/6986241/is-it-valid-to-reduce-on-an-empty-set-of-sets [3] https://nrinaudo.github.io/scala-best-practices/partial_functions/traversable_reduce.html
If you would like further support in investigating this issue, please raise a case with AWS Premium Support team and provide your Glue Job Run ID.
Thanks
In this context, that error very likely means that is trying to get a username and password properties from the connection but one is missing (doublecheck what is the right spelling).
Contenus pertinents
- demandé il y a 7 mois
- demandé il y a un an
- demandé il y a 6 mois
- demandé il y a 2 mois