spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurent Legrand <>
Subject pyspark: does not work with a list of paths
Date Wed, 05 Oct 2016 12:12:08 GMT

When I try to load multiple text files with the sqlContext, I get the
following error:

line 282, in text
UnboundLocalError: local variable 'path' referenced before assignment

According to the code
the variable 'path' is not set if the argument is not a string.

Could you confirm it is a bug?


View this message in context:
Sent from the Apache Spark User List mailing list archive at

To unsubscribe e-mail:

View raw message