(
query: string,
rowLimit?: number,
bigqueryOptions?: IBigQueryExecutionOptions,
params?: { [name: string]: any }
)
| 380 | } |
| 381 | |
| 382 | private prepareQueryOptions( |
| 383 | query: string, |
| 384 | rowLimit?: number, |
| 385 | bigqueryOptions?: IBigQueryExecutionOptions, |
| 386 | params?: { [name: string]: any } |
| 387 | ) { |
| 388 | return { |
| 389 | query, |
| 390 | useLegacySql: false, |
| 391 | jobPrefix: "dataform-" + (bigqueryOptions?.jobPrefix ? `${bigqueryOptions.jobPrefix}-` : ""), |
| 392 | location: bigqueryOptions?.location, |
| 393 | maxResults: rowLimit, |
| 394 | labels: bigqueryOptions?.labels, |
| 395 | dryRun: bigqueryOptions?.dryRun, |
| 396 | reservation: bigqueryOptions?.reservation, |
| 397 | params |
| 398 | }; |
| 399 | } |
| 400 | |
| 401 | private async createQueryJob( |
| 402 | query: string, |
no outgoing calls
no test coverage detected