-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sqlserver tests, remove unnecessary log checks
- Loading branch information
1 parent
7544d36
commit 2c3cbb7
Showing
10 changed files
with
54 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"tests": [ | ||
{ | ||
"type": "query", | ||
"name": "Test create schema", | ||
"sql": "CREATE SCHEMA sqlserver.test_schema", | ||
"trinoCliArgs": [ | ||
"--server 'http://trino:8080'", | ||
"--user admin" | ||
], | ||
"contains": [ | ||
"CREATE SCHEMA" | ||
] | ||
}, | ||
{ | ||
"type": "query", | ||
"name": "Test schema list", | ||
"sql": "SHOW SCHEMAS IN sqlserver", | ||
"trinoCliArgs": [ | ||
"--server 'http://trino:8080'", | ||
"--user admin" | ||
], | ||
"contains": [ | ||
"test_schema" | ||
] | ||
}, | ||
{ | ||
"type": "query", | ||
"name": "Test CTAS", | ||
"sql": "CREATE TABLE sqlserver.test_schema.test_table AS SELECT * FROM tpch.tiny.customer LIMIT 10", | ||
"trinoCliArgs": [ | ||
"--server 'http://trino:8080'", | ||
"--user admin" | ||
], | ||
"contains": [ | ||
"CREATE TABLE: 10 rows" | ||
] | ||
}, | ||
{ | ||
"type": "query", | ||
"name": "Test table select", | ||
"sql": "SELECT * FROM sqlserver.test_schema.test_table LIMIT 10", | ||
"trinoCliArgs": [ | ||
"--server 'http://trino:8080'", | ||
"--user admin" | ||
], | ||
"contains": [ | ||
"custkey", | ||
"name", | ||
"address" | ||
] | ||
} | ||
] | ||
} |