Squash
Squash

Reputation: 87

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?

Thanks!

Upvotes: 6

Views: 4270

Answers (1)

Cylldby
Cylldby

Reputation: 1978

You can have access to all the columns metadata by querying the COLUMN_FIELD_PATHS table:

SELECT * FROM `yourdataset.INFORMATION_SCHEMA.COLUMN_FIELD_PATHS`

Doc reference here

You get information about column names and types within all your dataset.

Upvotes: 8

Related Questions