我正在运行一个查询,以从BigQuery
中获取结果以及它进入数据库时的时间戳,我在时间戳154895940000到1550428199999之间获取数据,但是又用一个查询再次运行在上述时间戳之间
是1550428100000至1550428199999,但现在没有返回结果
我的查询是
WITH rawData_ AS ( SELECT opt.answerNo AS ans,
task.taskRaised.raisedAt.milliSeconds AS time
FROM Test_2019_02_07
CROSS JOIN UNNEST(task.workflowInfo.answers) AS answer
CROSS JOIN UNNEST(answer.options) AS opt),
rawData_1 AS
(SELECT rawData_.ans AS ans1, rawData_.time AS t1
FROM rawData_ WHERE rawData_.time BETWEEN 154895940000 AND
1550428199999 GROUP BY t1,ans1),
rawData_2 AS
(SELECT rawData_.ans AS ans2, rawData_.time AS t2
FROM rawData_ WHERE rawData_.time BETWEEN 1550428100000 AND
1550428199999 GROUP BY t2,ans2 )
SELECT * FROM rawData_2,rawData_1
当我添加此查询时,它将在1550428100000和1550428199999之间不返回任何结果