派生表的 TIMESTAMP 损坏的 BigQuery 导出?

BigQuery export with TIMESTAMP of derived tables broken?

我注意到从 BigQuery 派生的 table(table 从另一个 table 的查询构造)导出到存储确实从结果中删除了 TIMESTAMP。

  1. Table table 带 TIMESTAMP
  2. 对该 table 进行查询,例如 "SELECT user_id,subscription_date FROM [All.Users] LIMIT 1000"(复制为一行两列) 3.In 查询选项:将查询结果导出到table:示例"temp.Reproduce"。我使用 allow large result 来确保使用与生产中相同的选项。
  3. 将新 table "temp.Reproduce" 导出 到 AVRO 或 CSV。 (示例:gs://bucket/temp/part*.avro)
  4. 请注意缺少 TIMESTAMP !

其他人也注意到了吗?

感谢 Mosha,在问题列表中指出:

Export to GCS in CSV format renders datetime field as empty

问题已解决。