Test Result : SimpleSQLViewSuite

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

All Tests

Test nameDurationStatus
ALTER VIEW AS should alter permanent view if view name has database part0.25 secPassed
ALTER VIEW AS should keep the previous table properties, comment, create_time, etc0.2 secPassed
ALTER VIEW AS should try to alter temp view first if view name has no database part0.3 secPassed
CTE within view0.11 secPassed
Issue exceptions for ALTER TABLE on the temporary view0.11 secPassed
Issue exceptions for ALTER VIEW on the temporary view40 msPassed
Issue exceptions for other table DDL on the temporary view90 msPassed
SPARK-23519 view should be created even when query output contains duplicate col name0.42 secPassed
Using view after adding more columns0.6 secPassed
Using view after switching current database1 secPassed
correctly handle ALTER VIEW1.1 secPassed
correctly handle ALTER VIEW on a referenced view1.4 secPassed
correctly handle CREATE OR REPLACE TEMPORARY VIEW1.2 secPassed
correctly handle CREATE OR REPLACE VIEW1.6 secPassed
correctly handle CREATE VIEW IF NOT EXISTS0.85 secPassed
correctly handle a cyclic view reference0.18 secPassed
correctly handle a view with custom column names1.4 secPassed
correctly parse CREATE TEMPORARY VIEW statement0.36 secPassed
correctly parse CREATE VIEW statement0.57 secPassed
correctly parse a nested view1.3 secPassed
correctly resolve a view in a self join0.7 secPassed
create a permanent view on a permanent view0.26 secPassed
create a permanent view on a temp view55 msPassed
create a temp view on a permanent view0.2 secPassed
create a temp view on a temp view0.19 secPassed
create view for joined tables3.6 secPassed
create view for json table0.66 secPassed
create view for partitioned parquet table0.33 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 view74 msPassed
error handling: fail if the referenced table or view is invalid0.21 secPassed
error handling: fail if the temp view name contains the database prefix2 msPassed
error handling: fail if the temp view sql itself is invalid36 msPassed
error handling: fail if the view sql itself is invalid47 msPassed
error handling: insert/load/truncate table commands against a view62 msPassed
existing a table with the duplicate name when CREATE VIEW IF NOT EXISTS0.16 secPassed
permanent view should be case-preserving46 msPassed
resolve a view when the dataTypes of referenced table columns changed1.1 secPassed
restrict the nested level of a view0.58 secPassed
should NOT allow CREATE TEMPORARY VIEW when TEMPORARY VIEW with same name exists32 msPassed
should allow CREATE TEMPORARY VIEW when a permanent VIEW with same name exists63 msPassed
should allow CREATE permanent VIEW when a TEMPORARY VIEW with same name exists55 msPassed
should not allow ALTER VIEW AS when the view does not exist0.16 secPassed
sparkSession API view resolution with different default database0.53 secPassed