org.apache.spark.sql.hive

test

package test

Visibility
  1. Public
  2. All

Type Members

  1. class TestHiveContext extends HiveContext

    A locally running test instance of Spark's Hive execution engine.

    A locally running test instance of Spark's Hive execution engine.

    Data from testTables will be automatically loaded whenever a query is run over those tables. Calling reset will delete all tables and other state in the database, leaving the database in a "clean" state.

    TestHive is singleton object version of this class because instantiating multiple copies of the hive metastore seems to lead to weird non-deterministic failures. Therefore, the execution of test cases that rely on TestHive must be serialized.

Value Members

  1. object TestHive extends TestHiveContext

Ungrouped