Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
95b3301
Fixed bugs in IntegralDelta
liancheng Apr 8, 2014
052bf41
Bug fix: should only gather compressibility info for non-null values
liancheng Apr 8, 2014
44591a5
Bug fix: NullableColumnAccessor.hasNext must take nulls into account
liancheng Apr 9, 2014
036cd09
Clean up unused imports
liancheng Apr 9, 2014
8426ddc
Bug fix: InMemoryColumnarTableScan should cache columns specified by …
liancheng Apr 9, 2014
e619995
Bug fix: incorrect byte order in CompressionScheme.columnHeaderSize
liancheng Apr 9, 2014
9c8fc40
Disable compression by default
liancheng Apr 9, 2014
c9b0f6f
Let InsertIntoTable support InMemoryColumnarTableScan
liancheng Apr 9, 2014
6360723
Made PreInsertionCasts support SparkLogicalPlan and InMemoryColumnarT…
liancheng Apr 9, 2014
2d0e168
Run Hive tests in-memory too.
marmbrus Apr 8, 2014
e36cdd0
Spelling.
marmbrus Apr 10, 2014
1965123
Don't use coalesce for gathering all data to a single partition, as i…
marmbrus Apr 10, 2014
ab9e807
Fix the logged console version of failed test cases to use the new sy…
marmbrus Apr 10, 2014
d1df4fd
Remove test tables that might always get created anyway?
marmbrus Apr 10, 2014
4390bcc
Report error for any Throwable in HiveComparisonTest
liancheng Apr 11, 2014
99382bf
Enable compression by default
liancheng Apr 11, 2014
32cc9ce
Code style cleanup
liancheng Apr 11, 2014
882c538
Remove attributes field from InMemoryColumnarTableScan
liancheng Apr 11, 2014
5bdbfe7
Revert 882c538 & 8426ddc, which introduced regression
liancheng Apr 11, 2014
6ad6d9b
Merged HiveCompatibilitySuite and HiveInMemoryCompatibilitySuite
liancheng Apr 11, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merged HiveCompatibilitySuite and HiveInMemoryCompatibilitySuite
  • Loading branch information
liancheng committed Apr 11, 2014
commit 6ad6d9bafac3ebb69086558b4783aed5f3590b50
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,26 @@

package org.apache.spark.sql.hive.execution

import org.apache.spark.sql.hive.TestHive
import org.scalatest.BeforeAndAfter

class HiveInMemoryCompatibilitySuite extends HiveCompatibilitySuite with BeforeAndAfter {
override def beforeAll() {
TestHive.cacheTables = true
}

override def afterAll() {
TestHive.cacheTables = false
}
}
import org.apache.spark.sql.hive.TestHive

/**
* Runs the test cases that are included in the hive distribution.
*/
class HiveCompatibilitySuite extends HiveQueryFileTest {
class HiveCompatibilitySuite extends HiveQueryFileTest with BeforeAndAfter {
// TODO: bundle in jar files... get from classpath
lazy val hiveQueryDir = TestHive.getHiveFile("ql/src/test/queries/clientpositive")
def testCases = hiveQueryDir.listFiles.map(f => f.getName.stripSuffix(".q") -> f)

override def beforeAll() {
TestHive.cacheTables = true
}

override def afterAll() {
TestHive.cacheTables = false
}

/** A list of tests deemed out of scope currently and thus completely disregarded. */
override def blackList = Seq(
// These tests use hooks that are not on the classpath and thus break all subsequent execution.
Expand Down