Google bigquery BigQuery-:无法在“中设置值”;在unnest(@)中;条款

Google bigquery BigQuery-:无法在“中设置值”;在unnest(@)中;条款,google-bigquery,Google Bigquery,我试图通过java应用程序使用BigQuery客户机使用“in unnest()”子句,在该应用程序中,我将命名参数的参数类型设置为array type,因为在该子句中要发送一个值列表。但我得到了错误响应: { "code" : 400, "errors" : [ { "domain" : "global", "message" : "Invalid query parameter type", "reason" : "invalid" } ], "me

我试图通过java应用程序使用BigQuery客户机使用“in unnest()”子句,在该应用程序中,我将命名参数的参数类型设置为array type,因为在该子句中要发送一个值列表。但我得到了错误响应:

 {
  "code" : 400,
  "errors" : [ {
    "domain" : "global",
    "message" : "Invalid query parameter type",
    "reason" : "invalid"
  } ],
  "message" : "Invalid query parameter type"
}
我在尝试使用RESTAPI时遇到了相同的错误,其中参数类型设置为

"parameterType": {
        "arrayType": {
          "type": "STRING"
}
如何在“in unnest(@myparam)”子句中设置多个值?

应该是:

"parameterType": {
  "type": "ARRAY",
  "arrayType": {
    "type": "STRING"
   }
 }
具体地说,您还需要提供
数组类型。

从中应该是:

"parameterType": {
  "type": "ARRAY",
  "arrayType": {
    "type": "STRING"
   }
 }
具体来说,您还需要提供
数组
类型