Skip to content

Commit 55911a1

Browse files
test: remove use_standard_sql usage (#84)
1 parent 08b8245 commit 55911a1

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

test/integration/v1/index.test.ts

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,14 @@ describe("integration test", () => {
118118

119119
const connection = await firebolt.connect(connectionParams);
120120

121-
const statement = await connection.execute("SELECT * from numbers(100)", {
122-
settings: {
123-
output_format: OutputFormat.JSON_COMPACT,
124-
use_standard_sql: 0
121+
const statement = await connection.execute(
122+
"SELECT * from generate_series(1, 100)",
123+
{
124+
settings: {
125+
output_format: OutputFormat.JSON_COMPACT
126+
}
125127
}
126-
});
128+
);
127129

128130
const {
129131
data,
@@ -184,9 +186,9 @@ describe("integration test", () => {
184186

185187
const connection = await firebolt.connect(connectionParams);
186188

187-
const statement = await connection.execute("SELECT * from numbers(10)", {
188-
settings: { use_standard_sql: 0 }
189-
});
189+
const statement = await connection.execute(
190+
"SELECT * from generate_series(1, 10)"
191+
);
190192

191193
// to achieve seamless stream pipes you can use through2
192194
// or rowparser that returns strings or Buffer

0 commit comments

Comments
 (0)