Apache Spark autocomplete broken