Spark Scala Streaming CSV

前端 未结 2 1828
耶瑟儿~
耶瑟儿~ 2021-02-10 20:16

I am new in Spark/Scala. I know how to load CSV files:

    sqlContext.read.format(\"csv\")

and how to read text streams and file streams:

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-10 20:58

    You can stream your Csv file easily by using spark 2.2 structured streaming.

    You can refer here

提交回复
热议问题