R/sdf_interface.R
sdf_last_index.Rd
Returns the last index of a Spark DataFrame. The Spark mapPartitionsWithIndex function is used to iterate through the last nonempty partition of the RDD to find the last record.
mapPartitionsWithIndex
sdf_last_index(x, id = "id")
A spark_connection, ml_pipeline, or a tbl_spark.
spark_connection
ml_pipeline
tbl_spark
The name of the index column.