Test Result : SimpleSQLViewSuite

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

All Tests

Test nameDurationStatus
ALTER VIEW AS should alter permanent view if view name has database part0.37 secPassed
ALTER VIEW AS should keep the previous table properties, comment, create_time, etc0.22 secPassed
ALTER VIEW AS should try to alter temp view first if view name has no database part0.36 secPassed
CTE within view0.15 secPassed
Issue exceptions for ALTER TABLE on the temporary view97 msPassed
Issue exceptions for ALTER VIEW on the temporary view36 msPassed
Issue exceptions for other table DDL on the temporary view66 msPassed
SPARK-23519 view should be created even when query output contains duplicate col name1.8 secPassed
Using view after adding more columns1.3 secPassed
Using view after switching current database1.2 secPassed
correctly handle ALTER VIEW1.1 secPassed
correctly handle ALTER VIEW on a referenced view1.4 secPassed
correctly handle CREATE OR REPLACE TEMPORARY VIEW2.1 secPassed
correctly handle CREATE OR REPLACE VIEW2 secPassed
correctly handle CREATE VIEW IF NOT EXISTS0.96 secPassed
correctly handle a cyclic view reference0.39 secPassed
correctly handle a view with custom column names2.9 secPassed
correctly parse CREATE TEMPORARY VIEW statement0.45 secPassed
correctly parse CREATE VIEW statement0.75 secPassed
correctly parse a nested view1.2 secPassed
correctly resolve a view in a self join1.4 secPassed
create a permanent view on a permanent view0.53 secPassed
create a permanent view on a temp view68 msPassed
create a temp view on a permanent view0.27 secPassed
create a temp view on a temp view0.2 secPassed
create view for joined tables4.3 secPassed
create view for json table1 secPassed
create view for partitioned parquet table1 secPassed
error handling: disallow IF NOT EXISTS for CREATE TEMPORARY VIEW13 msPassed
error handling: existing a table with the duplicate name when creating/altering a view93 msPassed
error handling: fail if the referenced table or view is invalid0.62 secPassed
error handling: fail if the temp view name contains the database prefix3 msPassed
error handling: fail if the temp view sql itself is invalid78 msPassed
error handling: fail if the view sql itself is invalid44 msPassed
error handling: insert/load/truncate table commands against a view38 msPassed
existing a table with the duplicate name when CREATE VIEW IF NOT EXISTS0.34 secPassed
permanent view should be case-preserving0.39 secPassed
resolve a view when the dataTypes of referenced table columns changed4.3 secPassed
restrict the nested level of a view0.46 secPassed
should NOT allow CREATE TEMPORARY VIEW when TEMPORARY VIEW with same name exists23 msPassed
should allow CREATE TEMPORARY VIEW when a permanent VIEW with same name exists48 msPassed
should allow CREATE permanent VIEW when a TEMPORARY VIEW with same name exists51 msPassed
should not allow ALTER VIEW AS when the view does not exist35 msPassed
sparkSession API view resolution with different default database1 secPassed