In ql/pom.xml, spark dependency is specified as "provided" and optional. It seems that eclipse projects generated by maven doesn't including the dependency on those that are specified as "provided". This is to remove "provided" for spark dependency.
NO PRECOMMIT TESTS. This is for spark branch only.