Test Result : InMemorySessionCatalogSuite

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

All Tests

Test nameDurationStatus
00.1 secPassed
SPARK-19737: detect undefined functions without triggering relation resolution0.14 secPassed
SPARK-24544: test print actual failure cause when look up function failed50 msPassed
alter database81 msPassed
alter database should throw exception when the database does not exist60 msPassed
alter partition with invalid partition spec91 msPassed
alter partitions67 msPassed
alter partitions when database/table does not exist74 msPassed
alter table41 msPassed
alter table add columns53 msPassed
alter table drop columns39 msPassed
alter table stats55 msPassed
alter table when database/table does not exist45 msPassed
basic create and list databases0.26 secPassed
basic create and list functions0.14 secPassed
basic create and list partitions78 msPassed
copy SessionCatalog state - current db0.14 secPassed
copy SessionCatalog state - temp views65 msPassed
create databases using invalid names0.12 secPassed
create function that already exists35 msPassed
create function when database does not exist92 msPassed
create partitions that already exist53 msPassed
create partitions when database/table does not exist51 msPassed
create partitions with invalid part spec0.15 secPassed
create table50 msPassed
create table when database does not exist64 msPassed
create tables using invalid names79 msPassed
create temp function0.1 secPassed
create temp view68 msPassed
drop current database and drop default database72 msPassed
drop database54 msPassed
drop database when the database does not exist63 msPassed
drop database when the database is not empty0.17 secPassed
drop function96 msPassed
drop function when database/function does not exist50 msPassed
drop partitions0.16 secPassed
drop partitions that do not exist48 msPassed
drop partitions when database/table does not exist31 msPassed
drop partitions with invalid partition spec50 msPassed
drop table66 msPassed
drop table when database/table does not exist79 msPassed
drop temp function57 msPassed
drop temp table86 msPassed
get database should throw exception when the database does not exist0.1 secPassed
get database when a database exists83 msPassed
get function59 msPassed
get function when database/function does not exist48 msPassed
get partition41 msPassed
get partition when database/table does not exist37 msPassed
get partition with invalid partition spec49 msPassed
get table42 msPassed
get table when database/table does not exist37 msPassed
get tables by name47 msPassed
get tables by name when contains invalid name49 msPassed
get tables by name when empty55 msPassed
get tables by name when some tables do not exist37 msPassed
get tables by name when tables belong to different databases0.1 secPassed
get/set current database0.18 secPassed
getTempViewOrPermanentTableMetadata on temporary views0.16 secPassed
isPersistentFunction64 msPassed
isRegisteredFunction55 msPassed
isTemporaryFunction74 msPassed
list databases with pattern68 msPassed
list databases without pattern43 msPassed
list functions69 msPassed
list functions when database does not exist0.1 secPassed
list global temporary view and local temporary view with pattern40 msPassed
list partition names66 msPassed
list partition names with invalid partial partition spec45 msPassed
list partition names with partial partition spec45 msPassed
list partitions39 msPassed
list partitions when database/table does not exist94 msPassed
list partitions with invalid partial partition spec94 msPassed
list partitions with partial partition spec34 msPassed
list tables with pattern55 msPassed
list tables with pattern and includeLocalTempViews96 msPassed
list tables without pattern41 msPassed
list temporary view with pattern42 msPassed
look up view relation0.1 secPassed
lookup table relation0.14 secPassed
lookup temp function0.13 secPassed
rename partition with invalid partition spec0.13 secPassed
rename partitions55 msPassed
rename partitions when database/table does not exist37 msPassed
rename table69 msPassed
rename table when database/table does not exist61 msPassed
rename tables to an invalid name0.1 secPassed
rename temp table43 msPassed
table exists0.1 secPassed