File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments