[英]How can I move data from BigQuery to same database in BigQuery but different schema?
I am trying to move the data from Financial Schema tables to Looker_Scratch Schema tables.我正在尝试将数据从财务架构表移动到 Looker_Scratch 架构表。
There are a few different ways to do this:有几种不同的方法可以做到这一点:
The benefit to the snapshot is that it would be that it stores less data on disc than a full copy, however in both scenarios one and two above the data would become stale unless you put some kind of scheduled query or process behind it to refresh.快照的好处是它在磁盘上存储的数据比完整副本少,但是在上述第一种和第二种情况下,除非您在其后面放置某种预定查询或进程以刷新,否则数据将变得陈旧。 The view method would allow you to have the data be up to date as of the execution, this could present permissions issues so you may also want to look into authorized views.
view 方法允许您在执行时让数据保持最新,这可能会出现权限问题,因此您可能还想查看授权视图。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.