知識庫

Error "The Google BigQuery service was unable to compile the query. Bad double value"


發佈時間 : 23 Feb 2022
上次修改日期 : 07 Jun 2023

問題

When querying a Google BigQuery data source (e.g. creating an extract, loading a visualization), the following error may occur:

Error Code: 015CFBE6
The Google BigQuery service was unable to compile the query.
Bad double value:
<string value>

環境

  • Tableau Desktop
  • Google BigQuery

解決方法

  1. Determine which field the string value in the error message belongs to. One way to do so is to check the Tableau Desktop logs for the query that casts a field to number type, e.g. CAST(CAST(`Overall_SaleOrder`.`order_no` AS FLOAT64) AS INT64) AS `order_no`.
  2. Change the data type for this field to String instead.

原因

One of the fields currently configured as a number data type contains a string value.
這篇文章是否解決了問題?