Google bigquery 将数据从一个表追加到另一个表时,Bigquery时间戳错误无效
我试图将数据从一个表复制到另一个具有不同分区和集群字段的表,但我不断得到无效的时间戳错误。我的源表中的数据始终是使用standardSQL编写的,我不会在问题中运行查询源表中的数据。还有其他人遇到过类似的问题吗 这就是我的桌子的样子:Google bigquery 将数据从一个表追加到另一个表时,Bigquery时间戳错误无效,google-bigquery,Google Bigquery,我试图将数据从一个表复制到另一个具有不同分区和集群字段的表,但我不断得到无效的时间戳错误。我的源表中的数据始终是使用standardSQL编写的,我不会在问题中运行查询源表中的数据。还有其他人遇到过类似的问题吗 这就是我的桌子的样子: Project: sample Dataset: test Table Name: table_a event_id integer, event_name string, event_category string, service_name string se
Project: sample
Dataset: test
Table Name: table_a
event_id integer,
event_name string,
event_category string,
service_name string
service_timestamp timestamp
event_timestamp timestamp
Partitioned by event_timestamp, Clustered By: event_category
Project: sample
Dataset: test
Table Name: table_b
event_id integer,
event_name string,
event_category string,
service_name string
service_timestamp timestamp
event_timestamp timestamp
Partitioned by event_timestamp, Clustered By: service_name
我正在尝试使用以下命令将数据从表a复制到表b:
bq query --allow_large_results --append_table --use_legacy_sql=false --destination_table 'sample.test.table_b' "select * from \`sample.test.table_a\` where event_timestamp>='2018-01-01'";
这意味着您在
事件\u时间戳
或服务\u时间戳
中有损坏的日期值。您可以使用这些字段从表a
中选择并显示这是可能的吗?这意味着您在事件时间戳
或服务时间戳
中有损坏的日期值。您是否可以使用这些字段执行从表a
中选择,并显示这是可能的
Cannot return an invalid timestamp value of 632691030736614000 microseconds relative to the Unix epoch. The range of valid timestamp values is [0001-01-1 00:00:00, 9999-12-31 23:59:59.999999]; error in writing field service_timestamp```