Skip to main content

@terascope/data-mate / adapters/teal-frame-adapter / TealFrameAdapterResult

Interface: TealFrameAdapterResult

Defined in: data-mate/src/adapters/teal-frame-adapter/index.ts:42

Properties​

PropertyTypeDescriptionDefined in
dispatch"none" | "sql" | "sql+udf" | "udf"How the expression computes the value: native SQL, SQL with a UDF fallback for values SQL cannot handle, or the UDF for every value. Exposed so tests and benchmarks can check which path ran; the results look the same either way.data-mate/src/adapters/teal-frame-adapter/index.ts:65
expressionstringThe SQL expression that applies the function to the column, ready to use as select({ [name]: expression }, config).data-mate/src/adapters/teal-frame-adapter/index.ts:47
functionName?stringThe registered UDF name, or undefined when no UDF was needed (an unchanged ProcessMode.NONE cast, or a sql definition without a UDF fallback).data-mate/src/adapters/teal-frame-adapter/index.ts:57
outputConfigDataTypeFieldAndChildrenThe column's field config after this step, from the function's output_type. Pass it as the next step's inputConfig to track a field whose type changes.data-mate/src/adapters/teal-frame-adapter/index.ts:52