Test Result : InMemorySessionCatalogSuite

0 failures (±0)
89 tests (±0)
Took 3.3 sec.

All Tests

Test nameDurationStatus
032 msPassed
SPARK-19737: detect undefined functions without triggering relation resolution91 msPassed
SPARK-24544: test print actual failure cause when look up function failed44 msPassed
alter database31 msPassed
alter database should throw exception when the database does not exist32 msPassed
alter partition with invalid partition spec32 msPassed
alter partitions35 msPassed
alter partitions when database/table does not exist34 msPassed
alter table37 msPassed
alter table add columns44 msPassed
alter table drop columns30 msPassed
alter table stats35 msPassed
alter table when database/table does not exist38 msPassed
basic create and list databases56 msPassed
basic create and list functions51 msPassed
basic create and list partitions51 msPassed
copy SessionCatalog state - current db47 msPassed
copy SessionCatalog state - temp views63 msPassed
create databases using invalid names42 msPassed
create function that already exists36 msPassed
create function when database does not exist46 msPassed
create partitions that already exist30 msPassed
create partitions when database/table does not exist27 msPassed
create partitions with invalid part spec36 msPassed
create table57 msPassed
create table when database does not exist51 msPassed
create tables using invalid names51 msPassed
create temp function53 msPassed
create temp view42 msPassed
drop current database and drop default database39 msPassed
drop database26 msPassed
drop database when the database does not exist36 msPassed
drop database when the database is not empty76 msPassed
drop function27 msPassed
drop function when database/function does not exist28 msPassed
drop partitions32 msPassed
drop partitions that do not exist31 msPassed
drop partitions when database/table does not exist35 msPassed
drop partitions with invalid partition spec39 msPassed
drop table32 msPassed
drop table when database/table does not exist26 msPassed
drop temp function28 msPassed
drop temp table41 msPassed
get database should throw exception when the database does not exist27 msPassed
get database when a database exists28 msPassed
get function30 msPassed
get function when database/function does not exist37 msPassed
get partition37 msPassed
get partition when database/table does not exist29 msPassed
get partition with invalid partition spec31 msPassed
get table34 msPassed
get table when database/table does not exist96 msPassed
get tables by name37 msPassed
get tables by name when contains invalid name37 msPassed
get tables by name when empty32 msPassed
get tables by name when some tables do not exist31 msPassed
get tables by name when tables belong to different databases41 msPassed
get/set current database63 msPassed
getTempViewOrPermanentTableMetadata on temporary views33 msPassed
isPersistentFunction30 msPassed
isRegisteredFunction25 msPassed
isTemporaryFunction44 msPassed
list databases with pattern23 msPassed
list databases without pattern24 msPassed
list functions37 msPassed
list functions when database does not exist39 msPassed
list global temporary view and local temporary view with pattern28 msPassed
list partition names30 msPassed
list partition names with invalid partial partition spec30 msPassed
list partition names with partial partition spec28 msPassed
list partitions25 msPassed
list partitions when database/table does not exist34 msPassed
list partitions with invalid partial partition spec30 msPassed
list partitions with partial partition spec42 msPassed
list tables with pattern28 msPassed
list tables with pattern and includeLocalTempViews42 msPassed
list tables without pattern25 msPassed
list temporary view with pattern31 msPassed
look up view relation58 msPassed
lookup table relation33 msPassed
lookup temp function31 msPassed
rename partition with invalid partition spec30 msPassed
rename partitions31 msPassed
rename partitions when database/table does not exist32 msPassed
rename table38 msPassed
rename table when database/table does not exist34 msPassed
rename tables to an invalid name36 msPassed
rename temp table45 msPassed
table exists28 msPassed