(
(let $1 (DataType 'Bool))
(let $2 (StructType '('"column1" $1) '('"column10" $1) '('"column2" $1) '('"column3" $1) '('"column4" $1) '('"column5" $1) '('"column6" $1) '('"column7" $1) '('"column8" $1) '('"column9" $1) '('"key" (DataType 'Int32))))
(let $3 '('('"_logical_id" '1393) '('"_id" '"a543c0ae-f1917ae-b5a4badb-6123c0b4") '('"_wide_channels" $2)))
(let $4 (DqPhyStage '() (lambda '() (block '(
  (let $9 '@@["StructType";[["key";["DataType";"Int32"]];["subkey";["DataType";"Int32"]];["value";["DataType";"String"]];["value_utf";["DataType";"Utf8"]]]]@@)
  (let $10 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $9)))
  (let $11 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $12 (YtStat '('Id '"Input") '('RecordsCount '"3") '('DataSize '"177") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $13 (YtTable '"Input" $10 $11 $12 '() (Void) (Void) '"/Root/plato"))
  (let $14 '('"key" '"value" '"value_utf"))
  (let $15 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $13 $14 (Void) (Void))) '()))))
  (let $16 (lambda '($17 $18 $19) (block '(
    (let $20 (And (>= (Size $19) (Uint32 '"14")) (StartsWith $19 (String '"\u043F\u0440\u043E")) (EndsWith $19 (String '"\u0435\u0440\u043A\u0430"))))
    (let $21 (String '"o"))
    (let $22 (Utf8 '"\u0442\u0435\u0441\u0442\u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0430"))
    (let $23 (And (>= (Size $18) (Uint32 '"4")) (StartsWith $18 (String '"ba")) (EndsWith $18 (String '"ar"))))
    (return (StringContains $18 $19) $20 (StringContains $18 $21) (== $18 $21) (StringContains (Utf8 '"foobar") $18) (StartsWith $18 $19) (EndsWith $18 (Utf8 '"ar")) (StartsWith $22 $19) (EndsWith $22 $19) $23 $17)
  ))))
  (return (FromFlow (WideMap (WideSort (DqReadWideWrap $15 '()) '('('0 (Bool 'true)))) $16)))
))) $3))
(let $5 (DqCnMerge (TDqOutput $4 '0) '('('"10" '"Asc"))))
(let $6 (DqPhyStage '($5) (lambda '($24) (FromFlow (NarrowMap (ToFlow $24) (lambda '($25 $26 $27 $28 $29 $30 $31 $32 $33 $34 $35) (AsStruct '('"column1" $25) '('"column10" $26) '('"column2" $27) '('"column3" $28) '('"column4" $29) '('"column5" $30) '('"column6" $31) '('"column7" $32) '('"column8" $33) '('"column9" $34) '('"key" $35)))))) '('('"_logical_id" '1405) '('"_id" '"784d116b-b2dea578-3fdfe866-c1619fa4"))))
(let $7 '('"key" '"column1" '"column2" '"column3" '"column4" '"column5" '"column6" '"column7" '"column8" '"column9" '"column10"))
(let $8 (DqCnResult (TDqOutput $6 '0) $7))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($4 $6) '($8) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $2) '0 '0)) '('('"type" '"query"))))
)
