Spark sql row_number or sequence number?

前端 未结 2 396
臣服心动
臣服心动 2021-01-29 15:43

random number generator SparkSQL ?

For example:

  • Netezza: sequence number

  • mysql: sequence number

Thanks.

2条回答
  •  别那么骄傲
    2021-01-29 16:00

    Sequence in spark sql is in spark 1.6 its select monotonically_increasing_id() from table , spark 1.6 is due to get released

提交回复
热议问题