OpenMLDB icon indicating copy to clipboard operation
OpenMLDB copied to clipboard

LLVM JIT function would support append_slice and encode columns with input row

Open tobegit3hub opened this issue 2 years ago • 3 comments

Now we support parameter append slice to append input row columns to window output columns. We need to support generate single row with append row columns at one time.

wecom-temp-b41c79aab410b2867837c0bbb2ad2104

tobegit3hub avatar Mar 09 '22 04:03 tobegit3hub

UnsafeRowOpt relies on this feature to get SingleSliceRowFormat and do not need to append columns in offline.

tobegit3hub avatar Mar 09 '22 04:03 tobegit3hub

  1. We can add a bool filed need_append_input into RowFnLetIRBuilder to enable/disable append an input.
  2. RowFnLetIRBuilder.need_append_input can be set as false by default and can be set from PhysicalWindowProjectNode codegen logic
  3. Status EncodeBuf(...) support Encode with appending input_row.

jingchen2222 avatar Mar 09 '22 04:03 jingchen2222

#3731 related

aceforeverd avatar Feb 06 '24 04:02 aceforeverd