- TimeColumn
- Specify the name of the InputTable column that contains the time points of the time series whose missing values are to be calculated.
- TimeInterval
- [Optional] Specify exactly one of TimeIntervalTable or TimeInterval.
Specify the length of time, in seconds, between calculated values. This value must be either INTEGER or DOUBLE PRECISION.
The choice of TimeIntervalTable or TimeInterval determines which values in the input time series are interpolated:
Choice Values Interpolated TimeIntervalTable Function calculates an interpolated value for each time point. TimeInterval Function calculates an interpolated value for a time point only if the value is missing in the original time series; otherwise, the function copies the original value. If you specify AggregationType, the function ignores TimeIntervalTable or TimeInterval and calculates the aggregated value for each point in the time series. - TargetColumns
- Specify the names of InputTable columns to interpolate to the output table.
- TimeDataType
- [Optional] Specify the data type of the output column that corresponds to the input table column that TimeColumn specifies (time_column).
If you omit this syntax element, the function infers the data type of time_column from the input table and uses the inferred data type for the corresponding output table column.
If you specify this syntax element, the function can transform the input data to the specified output data type only if both the input column data type and the specified output column data type are in this list:- INTEGER
- BIGINT
- SMALLINT
- DOUBLE PRECISION
- NUMERIC(n[,m])
- ValueDataType
- [Optional] Specify the data types of the output columns that correspond to the input table columns that TargetColumns specifies.
If you omit this syntax element, the function infers the data type of each time_column from the input table and uses the inferred data type for the corresponding output table column.
If you specify ValueDataType, it must be the same size as TargetColumns. That is, if TargetColumns specifies n columns, ValueDataType must specify n data types. For i in [1, n], target_column_i has value_type_i. However, value_type_i can be empty; for example:
TargetColumns ('c1', 'c2', 'c3') ValueDataType (INTEGER, ,VARCHAR)
If you specify this syntax element, the function can transform the input data to the specified output data type only if both the input column data type and the specified output column data type are in this list:- INTEGER
- BIGINT
- SMALLINT
- DOUBLE PRECISION
- NUMERIC(n[,m])
- InterpolationType
- [Optional] Specify interpolation types for the columns that TargetColumns specifies.
- AggregationType
- [Optional] Specify the aggregation types of the columns that TargetColumns specifies.
- StartTime
- [Optional] Specify the start time for the time series.
- EndTime
- [Optional] Specify the end time for the time series.
- ValuesBeforeFirst
- [Optional] Specify the values to use if start_time is before the start time of the time series in InputTable. Each of these values must have the same data type as its corresponding target_column. Values of data type VARCHAR are case-insensitive.
- ValuesAfterLast
- [Optional] Specify the values to use if end_time is after the end time of the time series in InputTable. Each of these values must have the same data type as its corresponding target_column. Values of data type VARCHAR are case-insensitive.
- DuplicateRowsCount
- [Optional] Specify the number of rows to duplicate across split boundaries.
- Accumulate
- [Optional] Specify the names of InputTable columns (other than those specified by TimeColumn and TargetColumns) to copy to the output table.