Spark sql row_number or sequence number?

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

random number generator SparkSQL ?

For example:

  • Netezza: sequence number

  • mysql: sequence number

Thanks.

2条回答
  •  旧时难觅i
    2021-01-29 16:09

    Spark Sql already have random functions there is one blog.

    Or for number of rows spark sql also have row_number() function.

提交回复
热议问题