Skip to content

Commit

Permalink
[SQL] Un-ignore a test that is now passing.
Browse files Browse the repository at this point in the history
Add golden answer for aforementioned test.

Also, fix golden test generation from sbt/sbt by setting the classpath correctly.

Author: Michael Armbrust <michael@databricks.com>

Closes #244 from marmbrus/partTest and squashes the following commits:

37a33c9 [Michael Armbrust] Un-ignore a test that is now passing, add golden answer for aforementioned test.  Fix golden test generation from sbt/sbt.
  • Loading branch information
marmbrus authored and pwendell committed Mar 27, 2014
1 parent 345825d commit 32cbdfd
Show file tree
Hide file tree
Showing 3 changed files with 2,010 additions and 4 deletions.
8 changes: 8 additions & 0 deletions sbt/sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
#!/usr/bin/env bash

# When creating new tests for Spark SQL Hive, the HADOOP_CLASSPATH must contain the hive jars so
# that we can run Hive to generate the golden answer. This is not required for normal development
# or testing.
for i in $HIVE_HOME/lib/*
do HADOOP_CLASSPATH=$HADOOP_CLASSPATH:$i
done
export HADOOP_CLASSPATH

realpath () {
(
TARGET_FILE=$1
Expand Down
Loading

0 comments on commit 32cbdfd

Please sign in to comment.