We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 696a54f commit 116d71cCopy full SHA for 116d71c
bigframes/core/sql/ml.py
@@ -272,7 +272,7 @@ def get_insights(
272
"""Encode the ML.GET_INSIGHTS statement.
273
See https://cloud.google.com/bigquery/docs/reference/standard-sql/bigqueryml-syntax-get-insights for reference.
274
"""
275
- sql = f"SELECT * FROM ML.GET_INSIGHTS(MODEL {sqlglot_ir.identifier(model_name)})\n"
+ sql = f"SELECT * FROM ML.GET_INSIGHTS(MODEL {sg_sql.to_sql(sg_sql.identifier(model_name))})\n"
276
return sql
277
278
0 commit comments