Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: integrate jobs.query and stateless query for faster queries #1337

Merged
merged 13 commits into from
Mar 27, 2024
Merged
Prev Previous commit
Next Next commit
feat: re-generate types
  • Loading branch information
alvarowolfx committed Feb 28, 2024
commit 1a3be391a2e5f2527b272a7bb848dbe6edb2ef97
16 changes: 12 additions & 4 deletions src/types.d.ts
@@ -1,4 +1,4 @@
// Copyright 2023 Google LLC
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -931,7 +931,7 @@ declare namespace bigquery {
*/
etag?: string;
/**
* Optional. Information about the external metadata storage where the dataset is defined. Filled out when the dataset type is EXTERNAL.
* Optional. Reference to a read-only external dataset defined in data catalogs outside of BigQuery. Filled out when the dataset type is EXTERNAL.
*/
externalDatasetReference?: IExternalDatasetReference;
/**
Expand Down Expand Up @@ -970,6 +970,10 @@ declare namespace bigquery {
* Optional. Defines the time travel window in hours. The value can be from 48 to 168 hours (2 to 7 days). The default value is 168 hours if this is not set.
*/
maxTimeTravelHours?: string;
/**
* Output only. Reserved for future use.
*/
satisfiesPzi?: boolean;
/**
* Output only. Reserved for future use.
*/
Expand Down Expand Up @@ -1927,8 +1931,8 @@ declare namespace bigquery {
| 'ESTIMATED_PERFORMANCE_GAIN_TOO_LOW'
| 'NOT_SUPPORTED_IN_STANDARD_EDITION'
| 'INDEX_SUPPRESSED_BY_FUNCTION_OPTION'
| 'INTERNAL_ERROR'
| 'QUERY_CACHE_HIT'
| 'INTERNAL_ERROR'
| 'OTHER_REASON';
/**
* Specifies the name of the unused search index, if available.
Expand Down Expand Up @@ -2212,6 +2216,10 @@ declare namespace bigquery {
* Optional. Connection properties which can modify the load job behavior. Currently, only the 'session_id' connection property is supported, and is used to resolve _SESSION appearing as the dataset id.
*/
connectionProperties?: Array<IConnectionProperty>;
/**
* Optional. [Experimental] Configures the load job to only copy files to the destination BigLake managed table with an external storage_uri, without reading file content and writing them to new files. Copying files only is supported when: * source_uris are in the same external storage system as the destination table but they do not overlap with storage_uri of the destination table. * source_format is the same file format as the destination table. * destination_table is an existing BigLake managed table. Its schema does not have default value expression. It schema does not have type parameters other than precision and scale. * No options other than the above are specified.
*/
copyFilesOnly?: boolean;
/**
* Optional. Specifies whether the job is allowed to create new tables. The following values are supported: * CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. * CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.
*/
Expand Down Expand Up @@ -2880,7 +2888,7 @@ declare namespace bigquery {
*/
undeclaredQueryParameters?: Array<IQueryParameter>;
/**
* Output only. Search query specific statistics.
* Output only. Vector Search query specific statistics.
*/
vectorSearchStatistics?: IVectorSearchStatistics;
};
Expand Down