Any clue how to join this spark-structured stream joins?

后端 未结 1 1813
猫巷女王i
猫巷女王i 2021-01-15 18:43

I am using spark-sql-2.4.1 with spark-cassandra-connector-2_11.jar

I am trying to join to streaming datasets as below :

 Dataset&l         


        
相关标签:
1条回答
  • 2021-01-15 19:16

    AFAIK Spark structured streaming can't do joins after aggregations (or other non-map-like operations)

    https://spark.apache.org/docs/2.4.3/structured-streaming-programming-guide.html#support-matrix-for-joins-in-streaming-queries

    As of Spark 2.3, you cannot use other non-map-like operations before joins. Here are a few examples of what cannot be used.

    • Cannot use streaming aggregations before joins.

    I think this is still true in Spark 2.4

    0 讨论(0)
提交回复
热议问题