Test Result : InMemorySessionCatalogSuite

0 failures (±0)
89 tests (+10)
Took 4.3 sec.

All Tests

Test nameDurationStatus
036 msPassed
SPARK-19737: detect undefined functions without triggering relation resolution57 msPassed
SPARK-24544: test print actual failure cause when look up function failed46 msPassed
alter database53 msPassed
alter database should throw exception when the database does not exist40 msPassed
alter partition with invalid partition spec35 msPassed
alter partitions31 msPassed
alter partitions when database/table does not exist33 msPassed
alter table39 msPassed
alter table add columns33 msPassed
alter table drop columns33 msPassed
alter table stats34 msPassed
alter table when database/table does not exist41 msPassed
basic create and list databases0.14 secPassed
basic create and list functions50 msPassed
basic create and list partitions86 msPassed
copy SessionCatalog state - current db46 msPassed
copy SessionCatalog state - temp views43 msPassed
create databases using invalid names88 msPassed
create function that already exists28 msPassed
create function when database does not exist30 msPassed
create partitions that already exist25 msPassed
create partitions when database/table does not exist21 msPassed
create partitions with invalid part spec29 msPassed
create table66 msPassed
create table when database does not exist36 msPassed
create tables using invalid names83 msPassed
create temp function32 msPassed
create temp view66 msPassed
drop current database and drop default database43 msPassed
drop database42 msPassed
drop database when the database does not exist42 msPassed
drop database when the database is not empty0.16 secPassed
drop function26 msPassed
drop function when database/function does not exist44 msPassed
drop partitions35 msPassed
drop partitions that do not exist37 msPassed
drop partitions when database/table does not exist36 msPassed
drop partitions with invalid partition spec31 msPassed
drop table40 msPassed
drop table when database/table does not exist33 msPassed
drop temp function26 msPassed
drop temp table31 msPassed
get database should throw exception when the database does not exist65 msPassed
get database when a database exists0.13 secPassed
get function27 msPassed
get function when database/function does not exist27 msPassed
get partition32 msPassed
get partition when database/table does not exist31 msPassed
get partition with invalid partition spec37 msPassed
get table35 msPassed
get table when database/table does not exist38 msPassed
get tables by name36 msPassed
get tables by name when contains invalid name25 msPassed
get tables by name when empty21 msPassed
get tables by name when some tables do not exist25 msPassed
get tables by name when tables belong to different databases25 msPassed
get/set current database69 msPassed
getTempViewOrPermanentTableMetadata on temporary views56 msPassed
isPersistentFunction22 msPassed
isRegisteredFunction23 msPassed
isTemporaryFunction20 msPassed
list databases with pattern63 msPassed
list databases without pattern75 msPassed
list functions29 msPassed
list functions when database does not exist23 msPassed
list global temporary view and local temporary view with pattern76 msPassed
list partition names39 msPassed
list partition names with invalid partial partition spec34 msPassed
list partition names with partial partition spec27 msPassed
list partitions48 msPassed
list partitions when database/table does not exist31 msPassed
list partitions with invalid partial partition spec35 msPassed
list partitions with partial partition spec35 msPassed
list tables with pattern89 msPassed
list tables with pattern and includeLocalTempViews0.12 secPassed
list tables without pattern78 msPassed
list temporary view with pattern0.27 secPassed
look up view relation46 msPassed
lookup table relation34 msPassed
lookup temp function25 msPassed
rename partition with invalid partition spec34 msPassed
rename partitions38 msPassed
rename partitions when database/table does not exist34 msPassed
rename table35 msPassed
rename table when database/table does not exist42 msPassed
rename tables to an invalid name99 msPassed
rename temp table49 msPassed
table exists35 msPassed