Bigquery query to find the column names of a table

前端 未结 6 808
误落风尘
误落风尘 2021-01-17 08:59

I need a query to find column names of a table (table metadata) in Bigquery, like the following query in SQL:

SELECT column_name,data_type,data_length,data_p         


        
6条回答
  •  无人共我
    2021-01-17 09:36

    To Check column, You can access your table Through CLI Easy and simple to find

    bq query --use_legacy_sql=false 'select Hour, sum(column 1) as column from `project_id.dataset.table_name` where Date(Hour) = '2020-06-10';'
    

提交回复
热议问题