In BigQuery Legacy Sql können wir Integer-Spalte in den Float-Typ mit der Funktion float() umwandeln.Cast Integer-Typ zum Floaten in BigQuery Standard Sql
Was ist das Äquivalent in BigQuery Standard Sql? habe ich versucht, diese Befehle:
I diese Befehle versucht:
SELECT Schwimmers (author.time_sec) FROM bigquery-public-data.github_repos.commits
LIMIT 1000
SELECT Besetzung (author.time_sec als float) FROM bigquery-public-data.github_repos.commits
LIMIT 1000
Beide fehlgeschlagen.
, was Sie bisher versucht haben? https://cloud.google.com/bigquery/sql-reference/functions-and-operators#casting –
Ich habe diese Befehle versucht: SELECT float (author.time_sec) FROM '' bigquery-public-data.github_repos. commits'' LIMIT 1000 SELECT Besetzung (author.time_sec als float) FROM '' BigQuery-public-data.github_repos.commits'' LIMIT 1000 Beide falied –