This mapPartition function require a DataSet with RangeBoundaries as broadcast input, it generate
Tuple2 which includes range index and record itself as output.
Build RangeBoundaries with input records.
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.