[WIP][SPARK-3098]In some cases, the result of RDD.distinct is inconsistent

cc @srowen