我们在 Bigquery 上运行此查询:
SELECT DateTime, Source, MachineName, LogLevel, Identifier, Message, Exception
FROM TABLE_DATE_RANGE(XXXX.EventLog_, TIMESTAMP(Current_Date()), TIMESTAMP(Current_Date()))
Where source like 'Sync' and (MachineName like 'WEBNEW' or Identifier like 'WEBNEW')
Order by DateTime desc
LIMIT 100;
它给了我们:
错误:无法读取平板电脑:类型不兼容。 “日期时间”:TYPE_MESSAGE “日期时间”:TYPE_INT64
作业 ID:red-road-574:job_t5gM9MysBFi20PFZ88kgTO8ygvQ
当我们只去掉“Order by DateTime desc”时,查询运行良好。
我们想知道为什么以及如何解决它。
最佳答案
BigQuery 中出现暂时问题 - 现在一切都应该正常工作。
关于google-bigquery - "Cannot read tablet : Incompatible types"是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29307507/