如何在气流中使用BigQueryOperator创建视图? [英] How can you create a view using the BigQueryOperator in airflow?

查看:31
本文介绍了如何在气流中使用BigQueryOperator创建视图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

来自GCP文档: https://cloud.google.com/bigquery/docs/views他们使用BQ API创建视图的说明是使用包含视图属性的表资源调用table.insert方法."

From GCP docs: https://cloud.google.com/bigquery/docs/views their instructions for creating a view using the BQ API is "Call the tables.insert method with a table resource that contains a view property."

有人知道如何通过气流的BigQueryOperator做到这一点吗?还是我应该再找一个操作员?

Any idea how to do this via airflow's BigQueryOperator? Or is there another operator I should us?

推荐答案

只需使用DDL的 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆