revert spark_compile changes and vectorize make_version_filter
revert spark_compile changes and vectorize make_version_filter

rstudio/sparklyr,kevinykuo/sparklyr,rstudio/sparklyr,rstudio/sparklyr,kevinykuo/sparklyr,rstudio/sparklyr,kevinykuo/sparklyr,kevinykuo/sparklyr