Skip to content

Commit

Permalink
update slt
Browse files Browse the repository at this point in the history
  • Loading branch information
neverchanje committed Apr 3, 2023
1 parent e000781 commit 2ebad1d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 47 deletions.
47 changes: 0 additions & 47 deletions e2e_test/batch/join/cross_join.slt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,19 @@ Alice Engineering
Bob HR
Charlie Engineering

# Test cross join
query TT rowsort
SELECT e.employee_name, d.department_name
FROM employees e CROSS JOIN departments d
ORDER BY e.employee_name, d.department_name;
----
Alice Engineering
Alice HR
Bob Engineering
Bob HR
Charlie Engineering
Charlie HR

statement ok
DROP TABLE employees;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ SELECT e.employee_name, d.department_name
FROM employees e NATURAL JOIN departments d
ORDER BY employee_name;

# Nested-loop joins are not supported in the streaming mode.
statement error
CREATE MATERIALIZED VIEW employee_department_cross_join AS
SELECT e.employee_name, d.department_name
FROM employees e CROSS JOIN departments d
ORDER BY e.employee_name, d.department_name;

statement ok
flush

Expand Down

0 comments on commit 2ebad1d

Please sign in to comment.