官术网_书友最值得收藏!

  • Learning Google BigQuery
  • Thirukkumaran Haridass Eric Brown
  • 220字
  • 2021-07-02 21:23:59

Running your first query

Now that the data is imported to the table, it is time to write a basic query to examine the data in it:

  1. Click on the table under the dataset, and then click on the Query Table option on the right. Type the query shown in the following screenshot.
  1. Click on the validator icon to see how many bytes of data from the table will be used to execute this query. If you add more columns to the selected query, the number of bytes processed will increase, which in turn will increase your billing. BigQuery uses columnar storage and also stores the data in a compressed format. It is advised to add only those columns that are needed to the query.

BigQuery SQL is case insensitive except for the project name, dataset name, and table name used in the query. It is always good to follow a convention when naming your projects, datasets, tables, and columns. BigQuery web console also provides an autocomplete feature to help users type column names and tables names easily, similar to IntelliSense in Microsoft Visual Studio.

It is always better to open the validator and get an estimate of the amount of bytes to be processed for your query. This will help you keep an eye on the billing.

主站蜘蛛池模板: 汉沽区| 玛多县| 龙州县| 化州市| 晋中市| 东乡县| 中卫市| 墨江| 池州市| 城固县| 松桃| 临高县| 南溪县| 桓仁| 永宁县| 道真| 彰化县| 南宫市| 精河县| 安龙县| 兰考县| 宁武县| 阜新市| 高尔夫| 松潘县| 缙云县| 瑞昌市| 阳原县| 马尔康县| 九龙县| 涿鹿县| 盐津县| 饶河县| 宜宾市| 都昌县| 名山县| 河北省| 靖安县| 平塘县| 隆尧县| 土默特右旗|