statmike / vertex-ai-mlops

Google Cloud Platform Vertex AI end-to-end workflows for machine learning operations
Apache License 2.0
450 stars 202 forks source link

suggested updates on Prediction section in 03g #19

Closed karticn-google closed 1 year ago

karticn-google commented 1 year ago
  1. First cell under Retrieve Records for Prediction Add ` to qualify the bigquery dataset in the query as shown below **Before changes:** pred = bq.query(query = f"SELECT FROM {BQ_PROJECT}.{BQ_DATASET}.{BQ_TABLE} WHERE splits='TEST' LIMIT {n}").to_dataframe()` After changes: ```pred = bq.query(query = f"SELECT FROM {BQ_PROJECT}.{BQ_DATASET}.{BQ_TABLE} WHERE splits='TEST' LIMIT {n}").to_dataframe()```
karticn-google commented 1 year ago

@statmike I have created this issue to update the query

statmike commented 1 year ago

I made the update and pushed it in a commit this morning. Did this cause an error for you? It looks like it should not require backticks under the guide for identifiers.

statmike commented 1 year ago

I see! It depends on the projects name. I added the backticks in my last push.