We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7d3750 commit 6fbc75fCopy full SHA for 6fbc75f
1 file changed
tests/suites/tenant/constants.ts
@@ -4,7 +4,8 @@
4
export const simpleQuery = 'SELECT 1;';
5
export const VISIBILITY_TIMEOUT = 10 * 1000;
6
export const longTableSelect = (limit?: number) =>
7
- 'SELECT * FROM `.sys/pg_class`' + (limit ? ` LIMIT ${limit};` : ';');
+ 'SELECT x FROM AS_TABLE(AsList(AsStruct(ListFromRange(1, 10) AS x))) FLATTEN BY x' +
8
+ (limit ? ` LIMIT ${limit};` : ';');
9
10
// 400 is pretty enough
11
export const longRunningQuery = new Array(400).fill(simpleQuery).join('');
0 commit comments