0

I want to shuffle the data by key and write the data to sink.

I'm not use group by because of it is no need for me do any aggregate.

So I wonder whether flink sql has keyword like "distribute by" in spark.

TobiSH
  • 2,833
  • 3
  • 23
  • 33
yunfan
  • 760
  • 1
  • 11
  • 24

1 Answers1

0

It feels like a hack to me, but you could accomplish this with MATCH_RECOGNIZE and PARTITION BY. Hopefully there's a cleaner way that I'm not seeing.

David Anderson
  • 39,434
  • 4
  • 33
  • 60