Test Result : SimpleSQLViewSuite

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

All Tests

Test nameDurationStatus
ALTER VIEW AS should alter permanent view if view name has database part0.21 secPassed
ALTER VIEW AS should keep the previous table properties, comment, create_time, etc0.1 secPassed
ALTER VIEW AS should try to alter temp view first if view name has no database part0.19 secPassed
CTE within view97 msPassed
Issue exceptions for ALTER TABLE on the temporary view0.13 secPassed
Issue exceptions for ALTER VIEW on the temporary view24 msPassed
Issue exceptions for other table DDL on the temporary view73 msPassed
SPARK-23519 view should be created even when query output contains duplicate col name0.29 secPassed
Using view after adding more columns0.76 secPassed
Using view after switching current database0.54 secPassed
correctly handle ALTER VIEW0.71 secPassed
correctly handle ALTER VIEW on a referenced view1 secPassed
correctly handle CREATE OR REPLACE TEMPORARY VIEW0.99 secPassed
correctly handle CREATE OR REPLACE VIEW1.1 secPassed
correctly handle CREATE VIEW IF NOT EXISTS0.7 secPassed
correctly handle a cyclic view reference0.62 secPassed
correctly handle a view with custom column names1.9 secPassed
correctly parse CREATE TEMPORARY VIEW statement0.42 secPassed
correctly parse CREATE VIEW statement0.62 secPassed
correctly parse a nested view1 secPassed
correctly resolve a view in a self join0.69 secPassed
create a permanent view on a permanent view0.31 secPassed
create a permanent view on a temp view66 msPassed
create a temp view on a permanent view0.21 secPassed
create a temp view on a temp view0.27 secPassed
create view for joined tables2.2 secPassed
create view for json table0.54 secPassed
create view for partitioned parquet table0.52 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 view66 msPassed
error handling: fail if the referenced table or view is invalid0.48 secPassed
error handling: fail if the temp view name contains the database prefix2 msPassed
error handling: fail if the temp view sql itself is invalid50 msPassed
error handling: fail if the view sql itself is invalid32 msPassed
error handling: insert/load/truncate table commands against a view36 msPassed
existing a table with the duplicate name when CREATE VIEW IF NOT EXISTS0.16 secPassed
permanent view should be case-preserving36 msPassed
resolve a view when the dataTypes of referenced table columns changed1.7 secPassed
restrict the nested level of a view0.65 secPassed
should NOT allow CREATE TEMPORARY VIEW when TEMPORARY VIEW with same name exists19 msPassed
should allow CREATE TEMPORARY VIEW when a permanent VIEW with same name exists0.13 secPassed
should allow CREATE permanent VIEW when a TEMPORARY VIEW with same name exists58 msPassed
should not allow ALTER VIEW AS when the view does not exist19 msPassed
sparkSession API view resolution with different default database0.58 secPassed