Test Result : SimpleSQLViewSuite

0 failures (±0)
44 tests (±0)
Took 19 sec.

All Tests

Test nameDurationStatus
ALTER VIEW AS should alter permanent view if view name has database part0.28 secPassed
ALTER VIEW AS should keep the previous table properties, comment, create_time, etc0.15 secPassed
ALTER VIEW AS should try to alter temp view first if view name has no database part0.26 secPassed
CTE within view0.15 secPassed
Issue exceptions for ALTER TABLE on the temporary view92 msPassed
Issue exceptions for ALTER VIEW on the temporary view40 msPassed
Issue exceptions for other table DDL on the temporary view85 msPassed
SPARK-23519 view should be created even when query output contains duplicate col name0.36 secPassed
Using view after adding more columns0.63 secPassed
Using view after switching current database0.48 secPassed
correctly handle ALTER VIEW0.67 secPassed
correctly handle ALTER VIEW on a referenced view1.2 secPassed
correctly handle CREATE OR REPLACE TEMPORARY VIEW1 secPassed
correctly handle CREATE OR REPLACE VIEW1.2 secPassed
correctly handle CREATE VIEW IF NOT EXISTS0.7 secPassed
correctly handle a cyclic view reference0.28 secPassed
correctly handle a view with custom column names1.5 secPassed
correctly parse CREATE TEMPORARY VIEW statement0.44 secPassed
correctly parse CREATE VIEW statement0.55 secPassed
correctly parse a nested view1 secPassed
correctly resolve a view in a self join0.89 secPassed
create a permanent view on a permanent view0.36 secPassed
create a permanent view on a temp view82 msPassed
create a temp view on a permanent view0.28 secPassed
create a temp view on a temp view0.34 secPassed
create view for joined tables2 secPassed
create view for json table0.55 secPassed
create view for partitioned parquet table0.5 secPassed
error handling: disallow IF NOT EXISTS for CREATE TEMPORARY VIEW3 msPassed
error handling: existing a table with the duplicate name when creating/altering a view85 msPassed
error handling: fail if the referenced table or view is invalid0.3 secPassed
error handling: fail if the temp view name contains the database prefix2 msPassed
error handling: fail if the temp view sql itself is invalid48 msPassed
error handling: fail if the view sql itself is invalid34 msPassed
error handling: insert/load/truncate table commands against a view45 msPassed
existing a table with the duplicate name when CREATE VIEW IF NOT EXISTS0.22 secPassed
permanent view should be case-preserving0.13 secPassed
resolve a view when the dataTypes of referenced table columns changed1.3 secPassed
restrict the nested level of a view0.59 secPassed
should NOT allow CREATE TEMPORARY VIEW when TEMPORARY VIEW with same name exists24 msPassed
should allow CREATE TEMPORARY VIEW when a permanent VIEW with same name exists42 msPassed
should allow CREATE permanent VIEW when a TEMPORARY VIEW with same name exists42 msPassed
should not allow ALTER VIEW AS when the view does not exist27 msPassed
sparkSession API view resolution with different default database0.48 secPassed