buildSql
public static String buildSql(TableName tableName,
org.apache.arrow.vector.types.pojo.Schema schema,
Constraints constraints,
List<com.google.cloud.bigquery.QueryParameterValue> parameterValues)
Builds an SQL statement from the schema, table name, split and contraints that can be executable by
BigQuery.
- Parameters:
tableName
- The table name of the table we are querying.
schema
- The schema of the table that we are querying.
constraints
- The constraints that we want to apply to the query.
parameterValues
- Query parameter values for parameterized query.
- Returns:
- SQL Statement that represents the table, columns, split, and constraints.