Skip to content

Commit f457316

Browse files
committed
Merge branch 'main' into incstats
2 parents d5f8321 + 4b0ef0c commit f457316

File tree

4 files changed

+39
-5
lines changed

4 files changed

+39
-5
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,24 @@
55
[1]: https://pypi.org/project/google-cloud-bigquery/#history
66

77

8+
## [3.37.0](https://github.com/googleapis/python-bigquery/compare/v3.36.0...v3.37.0) (2025-09-08)
9+
10+
11+
### Features
12+
13+
* Updates to fastpath query execution ([#2268](https://github.com/googleapis/python-bigquery/issues/2268)) ([ef2740a](https://github.com/googleapis/python-bigquery/commit/ef2740a158199633b5543a7b6eb19587580792cd))
14+
15+
16+
### Bug Fixes
17+
18+
* Remove deepcopy while setting properties for _QueryResults ([#2280](https://github.com/googleapis/python-bigquery/issues/2280)) ([33ea296](https://github.com/googleapis/python-bigquery/commit/33ea29616c06a2e2a106a785d216e784737ae386))
19+
20+
21+
### Documentation
22+
23+
* Clarify that the presence of `XyzJob.errors` doesn't necessarily mean that the job has not completed or was unsuccessful ([#2278](https://github.com/googleapis/python-bigquery/issues/2278)) ([6e88d7d](https://github.com/googleapis/python-bigquery/commit/6e88d7dbe42ebfc35986da665d656b49ac481db4))
24+
* Clarify the api_method arg for client.query() ([#2277](https://github.com/googleapis/python-bigquery/issues/2277)) ([8a13c12](https://github.com/googleapis/python-bigquery/commit/8a13c12905ffcb3dbb6086a61df37556f0c2cd31))
25+
826
## [3.36.0](https://github.com/googleapis/python-bigquery/compare/v3.35.1...v3.36.0) (2025-08-20)
927

1028

google/cloud/bigquery/job/base.py

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,12 @@ def transaction_info(self) -> Optional[TransactionInfo]:
693693

694694
@property
695695
def error_result(self):
696-
"""Error information about the job as a whole.
696+
"""Output only. Final error result of the job.
697+
698+
If present, indicates that the job has completed and was unsuccessful.
699+
700+
See:
701+
https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobStatus.FIELDS.error_result
697702
698703
Returns:
699704
Optional[Mapping]: the error information (None until set from the server).
@@ -704,7 +709,13 @@ def error_result(self):
704709

705710
@property
706711
def errors(self):
707-
"""Information about individual errors generated by the job.
712+
"""Output only. The first errors encountered during the running of the job.
713+
714+
The final message includes the number of errors that caused the process to stop.
715+
Errors here do not necessarily mean that the job has not completed or was unsuccessful.
716+
717+
See:
718+
https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobStatus.FIELDS.errors
708719
709720
Returns:
710721
Optional[List[Mapping]]:
@@ -716,7 +727,12 @@ def errors(self):
716727

717728
@property
718729
def state(self):
719-
"""Status of the job.
730+
"""Output only. Running state of the job.
731+
732+
Valid states include 'PENDING', 'RUNNING', and 'DONE'.
733+
734+
See:
735+
https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobStatus.FIELDS.state
720736
721737
Returns:
722738
Optional[str]:

google/cloud/bigquery/query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1400,7 +1400,7 @@ def _set_properties(self, api_response):
14001400
api_response (Dict): Response returned from an API call
14011401
"""
14021402
self._properties.clear()
1403-
self._properties.update(copy.deepcopy(api_response))
1403+
self._properties.update(api_response)
14041404

14051405

14061406
def _query_param_from_api_repr(resource):

google/cloud/bigquery/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
__version__ = "3.36.0"
15+
__version__ = "3.37.0"

0 commit comments

Comments
 (0)