简体   繁体   English

是否可以从 BigQuery 元数据中提取列描述

[英]Is it possible to pull column descriptions from BigQuery metadata

I'm trying to get the column descriptions from the BigQuery metadata but I can't seem to find it, I've tried using INFORMATION_SCHEMA.COLUMNS but it isn't contained in here, does anyone know where it is please?我试图从 BigQuery 元数据中获取列描述,但我似乎找不到它,我尝试使用 INFORMATION_SCHEMA.COLUMNS 但它不包含在此处,有人知道它在哪里吗?

Thanks!谢谢!

You can have access to all the columns metadata by querying the COLUMN_FIELD_PATHS table:您可以通过查询COLUMN_FIELD_PATHS表来访问所有列元数据:

SELECT * FROM `yourdataset.INFORMATION_SCHEMA.COLUMN_FIELD_PATHS`

Doc reference here文档参考在这里

You get information about column names and types within all your dataset.您将获得有关所有数据集中的列名称和类型的信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM