returnTableType property

StandardSqlTableType? returnTableType
getter/setter pair

Can be set only if routine_type = "TABLE_VALUED_FUNCTION".

If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specified in return table type, at query time.

Optional.

Implementation

StandardSqlTableType? returnTableType;