Set Column Type
Returns a copy of a specified table, with specified columns modified to use specified types.
Arguments
The function has the following arguments:
Table: Table from which the column is to be selected.
Column Types: Text string that specifies column-name/type pairs. Separate pairs with spaces. Within each pair, separate column-name from type with a colon, that is, each pair has the following form:
column-name:type For type, supply one of the following:
STRING INTEGER LONG DOUBLE FLOAT BOOLEAN DATE If column-name contains a space or a colon, it must be enclosed in single quotes. Here is an example:
apama.timestamp:DATE 'Max Value':INTEGER Active:BOOLEAN This function returns a table.