fn derive_sink_to_table_expr( sink_schema: &Schema, idx: usize, target_type: &DataType, ) -> Result<ExprImpl, RwError>