Google BigQuery日期数据类型? [英] Google BigQuery Date Data Type?
本文介绍了Google BigQuery日期数据类型?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Google BigQuery中是否有日期或日期时间数据类型?我查看了在线文档,但提到的数据类型没有包含任何日期类型。
解决方案
编辑添加:日期时间类型,请参阅Fh的答案以获取更多信息。
没有日期数据类型可用,但如果使用ISO格式的日期时间(YYYY-MM-DD HH:MM:SS [.uuuuuu])或时间戳(自1970年起可以转换为微秒),可以使用多种日期函数。有关详情,请参阅此页面。
Is there a date or datetime data type in Google BigQuery? I looked at the online documentation, but the data types mentioned didn't include any date types
解决方案
Edited to add: There is a date time type, see Fh's answer for more information.
No date data type is available, although if you use ISO-formatted date-times (YYYY-MM-DD HH:MM:SS[.uuuuuu]) or timestamps (convertable to microseconds since 1970) there are a number of date functions that you can use. See this page for more information.
这篇关于Google BigQuery日期数据类型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文