You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "./slice_db.py", line 119, in
main()
File "./slice_db.py", line 108, in main
slice_df = slice_db_action.run()
File "./slice_db.py", line 52, in run
.flatMap(_enumerate))
File "/home/zhangxu/usr/local/envs/reinvent-scaffold-decorator/lib/python3.6/site-packages/pyspark/sql/session.py", line 746, in createDataFrame
rdd, schema = self._createFromRDD(data.map(prepare), schema, samplingRatio)
File "/home/zhangxu/usr/local/envs/reinvent-scaffold-decorator/lib/python3.6/site-packages/pyspark/sql/session.py", line 390, in _createFromRDD
struct = self._inferSchema(rdd, samplingRatio, names=schema)
File "/home/zhangxu/usr/local/envs/reinvent-scaffold-decorator/lib/python3.6/site-packages/pyspark/sql/session.py", line 361, in _inferSchema
first = rdd.first()
File "/home/zhangxu/usr/local/envs/reinvent-scaffold-decorator/lib/python3.6/site-packages/pyspark/rdd.py", line 1381, in first
raise ValueError("RDD is empty")
ValueError: RDD is empty
when i use my data ,This problem always occurs.how to solve it? thankyou
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "./slice_db.py", line 119, in
main()
File "./slice_db.py", line 108, in main
slice_df = slice_db_action.run()
File "./slice_db.py", line 52, in run
.flatMap(_enumerate))
File "/home/zhangxu/usr/local/envs/reinvent-scaffold-decorator/lib/python3.6/site-packages/pyspark/sql/session.py", line 746, in createDataFrame
rdd, schema = self._createFromRDD(data.map(prepare), schema, samplingRatio)
File "/home/zhangxu/usr/local/envs/reinvent-scaffold-decorator/lib/python3.6/site-packages/pyspark/sql/session.py", line 390, in _createFromRDD
struct = self._inferSchema(rdd, samplingRatio, names=schema)
File "/home/zhangxu/usr/local/envs/reinvent-scaffold-decorator/lib/python3.6/site-packages/pyspark/sql/session.py", line 361, in _inferSchema
first = rdd.first()
File "/home/zhangxu/usr/local/envs/reinvent-scaffold-decorator/lib/python3.6/site-packages/pyspark/rdd.py", line 1381, in first
raise ValueError("RDD is empty")
ValueError: RDD is empty
when i use my data ,This problem always occurs.how to solve it? thankyou
The text was updated successfully, but these errors were encountered: