google-cloud-python
google-cloud-python copied to clipboard
Anchor tag typos in BigQuery docs
Our link tracker identified the following bad links to the REST docs:
- W | https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#statistics.query.undeclaredQueryParamters | https://googlecloudplatform.github.io/google-cloud-python/latest/bigquery/reference.html | Anchor: statistics.query.undeclaredQueryParamters not found.
- W | https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.query.tableDefinitions.%28key%29.bigtableOptions.columnFamilies.columns.field_name. | https://googlecloudplatform.github.io/google-cloud-python/latest/bigquery/reference.html | Anchor: configuration.query.tableDefinitions.(key).bigtableOptions.columnFamilies.columns.field_name not found.
- W | https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#externalDataC... | https://googlecloudplatform.github.io/google-cloud-python/latest/bigquery/reference.html | Anchor: externalDataConfiguration.bigtableOptions.columnFamilies.columns.field_name not found.
- W | https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.q... | https://googlecloudplatform.github.io/google-cloud-python/latest/bigquery/reference.html#google.cloud.bigquery.dataset.Dataset.access_entries | Anchor: configuration.query.tableDefinitions.(key).bigtableOptions.columnFamilies.columns.only_read_latest not found.
- W | https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#externalDataC... | https://googlecloudplatform.github.io/google-cloud-python/latest/bigquery/reference.html#google.cloud.bigquery.dataset.Dataset.access_entries | Anchor: externalDataConfiguration.bigtableOptions.columnFamilies.columns.only_read_latest not found.
- W | https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.q... | https://googlecloudplatform.github.io/google-cloud-python/latest/bigquery/reference.html | Anchor: configuration.query.tableDefinitions.(key).bigtableOptions.columnFamilies.columns.qualifier_encoded not found.
- W | https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#externalDataC... | https://googlecloudplatform.github.io/google-cloud-python/latest/bigquery/reference.html | Anchor: externalDataConfiguration.bigtableOptions.columnFamilies.columns.qualifier_encoded not found.
- W | https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.q... | https://googlecloudplatform.github.io/google-cloud-python/latest/bigquery/reference.html | Anchor: configuration.query.tableDefinitions.(key).bigtableOptions.columnFamilies.columns.qualifier_string not found.
- W | https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#externalDataC... | https://googlecloudplatform.github.io/google-cloud-python/latest/bigquery/reference.html | Anchor: externalDataConfiguration.bigtableOptions.columnFamilies.columns.qualifier_string not found.
These links need to be fixed to point to the actual properties' anchor tags.
@tswast Looking at the first typo, it appears the property itself is also misspelled. Assuming this should be fixed as well? It's a new property as of our latest version. https://github.com/GoogleCloudPlatform/google-cloud-python/blob/67e8c548b41f9e4eb182ba044a4e2462d7b0782f/bigquery/google/cloud/bigquery/job.py#L1838
Yes please.
@alixhami Feel free to fix them all:
$ git grep -n -i paramter
bigquery/google/cloud/bigquery/job.py:1838: def undeclared_query_paramters(self):
bigquery/google/cloud/bigquery/job.py:1842: https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#statistics.query.undeclaredQueryParamters
bigquery/google/cloud/bigquery/job.py:1853: undeclared = self._job_statistics().get('undeclaredQueryParamters', ())
bigquery/tests/unit/test_job.py:2025: def test_undeclared_query_paramters(self):
bigquery/tests/unit/test_job.py:2073: self.assertEqual(job.undeclared_query_paramters, [])
bigquery/tests/unit/test_job.py:2076: self.assertEqual(job.undeclared_query_paramters, [])
bigquery/tests/unit/test_job.py:2079: self.assertEqual(job.undeclared_query_paramters, [])
bigquery/tests/unit/test_job.py:2081: query_stats['undeclaredQueryParamters'] = undeclared
bigquery/tests/unit/test_job.py:2083: scalar, array, struct = job.undeclared_query_paramters
spanner/google/cloud/spanner_v1/param_types.py:31: """Construct an array paramter type description protobuf.
spanner/google/cloud/spanner_v1/param_types.py:58: """Construct a struct paramter type description protobuf.
Fixed with #4550