Test Result : SimpleSQLViewSuite

0 failures (±0)
49 tests (±0)
Took 11 sec.

All Tests

Test nameDurationStatus
ALTER VIEW AS should alter permanent view if view name has database part88 msPassed
ALTER VIEW AS should keep the previous table properties, comment, create_time, etc.50 msPassed
ALTER VIEW AS should try to alter temp view first if view name has no database part0.11 secPassed
CTE within view56 msPassed
Issue exceptions for ALTER TABLE on the temporary view6 msPassed
Issue exceptions for ALTER VIEW on the temporary view7 msPassed
Issue exceptions for other table DDL on the temporary view9 msPassed
SPARK-23519 view should be created even when query output contains duplicate col name0.28 secPassed
SPARK-32374: disallow setting properties for CREATE TEMPORARY VIEW0 msPassed
SPARK-33141: view should be parsed and analyzed with configs set when creating1.1 secPassed
Using view after adding more columns0.48 secPassed
Using view after switching current database0.27 secPassed
alter temporary view should follow current storeAnalyzedPlanForView config0.87 secPassed
correctly handle ALTER VIEW0.36 secPassed
correctly handle ALTER VIEW on a referenced view0.37 secPassed
correctly handle CREATE OR REPLACE TEMPORARY VIEW0.38 secPassed
correctly handle CREATE OR REPLACE VIEW0.51 secPassed
correctly handle CREATE VIEW IF NOT EXISTS0.38 secPassed
correctly handle a cyclic view reference52 msPassed
correctly handle a view with custom column names0.95 secPassed
correctly parse CREATE TEMPORARY VIEW statement0.16 secPassed
correctly parse CREATE VIEW statement0.23 secPassed
correctly parse a nested view0.42 secPassed
correctly resolve a view in a self join0.31 secPassed
create a permanent view on a permanent view0.16 secPassed
create a permanent view on a temp view26 msPassed
create a temp view on a permanent view0.13 secPassed
create a temp view on a temp view0.15 secPassed
create view for joined tables1.1 secPassed
create view for json table0.17 secPassed
create view for partitioned parquet table0.32 secPassed
error handling: disallow IF NOT EXISTS for CREATE TEMPORARY VIEW2 msPassed
error handling: existing a table with the duplicate name when creating/altering a view31 msPassed
error handling: fail if the referenced table or view is invalid0.1 secPassed
error handling: fail if the temp view name contains the database prefix1 msPassed
error handling: fail if the temp view sql itself is invalid5 msPassed
error handling: fail if the view sql itself is invalid7 msPassed
error handling: insert/load table commands against a view8 msPassed
existing a table with the duplicate name when CREATE VIEW IF NOT EXISTS0.11 secPassed
global temp view refers local temp view50 msPassed
local temp view refers global temp view41 msPassed
permanent view should be case-preserving13 msPassed
resolve a view when the dataTypes of referenced table columns changed0.96 secPassed
should NOT allow CREATE TEMPORARY VIEW when TEMPORARY VIEW with same name exists13 msPassed
should allow CREATE TEMPORARY VIEW when a permanent VIEW with same name exists12 msPassed
should allow CREATE permanent VIEW when a TEMPORARY VIEW with same name exists11 msPassed
should not allow ALTER VIEW AS when the view does not exist3 msPassed
sparkSession API view resolution with different default database0.3 secPassed
temporary view should ignore useCurrentSQLConfigsForView config0.25 secPassed