I successfully compiled against 0.23.7, 2.2.0, and 1.0.4, so I think we're good to go on this change (especially since it's intended to be an internal helper). Would you mind changing the private[apache]s to private[spark]s and update the class comment? That'd be sweet.