Defining Google BigQuery Views

The following properties are applicable to a Google BigQuery View object.

Tab

Property

Description

Additional Information

  Dataset Specifies the dataset to which the view belongs  
  Project Specifies the project to which the dataset belongs  
  If Not Exists Specifies that if the view already exists, no exception is thrown, and no action happens  
  Use Replace Syntax Specifies whether the REPLACE syntax is used Selecting this option replaces the syntax with the new DDL that is generated during Forward Engineering
  Generate Specifies whether a DDL statement is generated for the view during forward engineering  
General Expiration Timestamp Specifies the exact time when the view expires, in milliseconds, enclosed in quotation marks  
Friendly Name Specifies a user-friendly name for the view, enclosed in quotation marks  
Key Specifies the list of keys used in label  
Value Specifies the values of keys  
Select Available Tables and Views Specifies a list of available tables and views Under Available Tables and Views, select the columns that you want to define as view columns. Then, click .
Columns Specifies the columns selected from the available tables and views
Select Type Specifies the expression type to indicate whether duplicate rows are returned

All: Indicates that the statement returns all rows, including duplicate rows

Distinct: Indicates that the statement discards duplicate rows and returns only the remaining rows

Alias Specifies a temporary name given to a table, column, or expression present in a query based on the selected column

 

Expression Specifies the expression for a selected column Available only when the selected column is a user-defined function expression
From Available Tables and Views Specifies a list of available tables and views that can be used in the view Under Available Tables and Views, select the tables or views from which you want to select view columns. Then, click .
From Specifies the selected tables and views
Alias Specifies an alternate name for the selected table or view

 

If the value of an object property is of the Function type, do not enclose the value in quotation marks.