Pyspark streaming - how to read binary(image or audio) file from folder?

后端 未结 0 887
悲&欢浪女
悲&欢浪女 2021-02-03 10:41

Since Spark 2.0, We can read and get binary files through SparkContext in batch mode. Like

images = sc.binarFiles("path/to/directory")

相关标签:
回答
  • 消灭零回复
提交回复
热议问题