Spark can currently only support a few queries, however there are some .q file tests which will pass today. The basic idea is that we should get some number of these actually working (10-20) so we can actually start testing the project.
A good starting point might be the udf*, varchar*, or alter* tests:
To generate the output file for test XXX.q, you'd do:
which would generate XXX.q.out which we can check-in to source control as a "golden file".
Multiple tests can be run at a give time as so: