Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1405,6 +1405,12 @@ org.apache.spark.sql.catalyst.ExtendedAnalysisException
}


-- !query
DROP VIEW IF EXISTS v
-- !query analysis
DropTableCommand `spark_catalog`.`default`.`v`, true, true, false


-- !query
CREATE TABLE tab(IDENTIFIER('c1') INT) USING CSV
-- !query analysis
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1379,6 +1379,12 @@ Project [c1#x]
+- LocalRelation [col1#x]


-- !query
DROP VIEW IF EXISTS v
-- !query analysis
DropTableCommand `spark_catalog`.`default`.`v`, true, true, false


-- !query
CREATE TABLE tab(IDENTIFIER('c1') INT) USING CSV
-- !query analysis
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ SELECT my_table.* FROM VALUES (1, 2) AS IDENTIFIER('my_table')(IDENTIFIER('c1'),
WITH identifier('v')(identifier('c1')) AS (VALUES(1)) (SELECT c1 FROM v);
CREATE OR REPLACE VIEW v(IDENTIFIER('c1')) AS VALUES(1);
SELECT c1 FROM v;
DROP VIEW IF EXISTS v;
CREATE TABLE tab(IDENTIFIER('c1') INT) USING CSV;
INSERT INTO tab(IDENTIFIER('c1')) VALUES(1);
SELECT c1 FROM tab;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1557,6 +1557,14 @@ org.apache.spark.sql.catalyst.ExtendedAnalysisException
}


-- !query
DROP VIEW IF EXISTS v
-- !query schema
struct<>
-- !query output



-- !query
CREATE TABLE tab(IDENTIFIER('c1') INT) USING CSV
-- !query schema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1496,6 +1496,14 @@ struct<c1:int>
1


-- !query
DROP VIEW IF EXISTS v
-- !query schema
struct<>
-- !query output



-- !query
CREATE TABLE tab(IDENTIFIER('c1') INT) USING CSV
-- !query schema
Expand Down