Bigquery如何在列表操作期间过滤数据集中的表

编程入门 行业动态 更新时间:2024-10-24 17:19:33
本文介绍了Bigquery如何在列表操作期间过滤数据集中的表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

在调用List操作时,是否可以使用表名从数据集中搜索或过滤特定表?我了解文档中提到使用Label来过滤表格,但是在我的情况下这是不够的,因为在具有或不带有Label的数据集下可以创建的表格数量没有限制.我正在使用Node库进行操作.

Is there any way to search or filter for particular Table from Dataset using Table name while calling List operation? I understand that documentation mentions use of Labels to filter Tables but in my case this will not suffice as there is no restriction on number of Tables that can be created under a Dataset with or without Label . I am using Node library for my operations.

推荐答案

搜索或过滤特定表(或任何其他元数据对象)的首选方法是查询 INFORMATION_SCHEMA .可以使用多个 INFORMATION_SCHEMA 表- INFORMATION_SCHEMA.TABLES , INFORMATION_SCHEMA.TABLE_OPTIONS , INFORMATION_SCHEMA.COLUMNS 等.有关更多信息,请参见 cloud.google/bigquery/docs/information-schema-tables

The prefered way to search or filter for particular Table (or any other metadata object) is to query INFORMATION_SCHEMA. There are multiple INFORMATION_SCHEMA tables which could be used - INFORMATION_SCHEMA.TABLES, INFORMATION_SCHEMA.TABLE_OPTIONS, INFORMATION_SCHEMA.COLUMNS etc. More info at cloud.google/bigquery/docs/information-schema-tables

更多推荐

Bigquery如何在列表操作期间过滤数据集中的表

本文发布于:2023-10-30 04:04:13,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1541706.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:操作   数据   如何在   列表   Bigquery

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!