(
(let $1 '('"key"))
(let $2 (DataType 'String))
(let $3 (StructType '('"key" $2)))
(let $4 '('('"_logical_id" '738) '('"_id" '"3a653e2e-c4165025-9e4b60b6-46a36f88") '('"_wide_channels" $3)))
(let $5 (DqPhyStage '() (lambda '() (block '(
  (let $9 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (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 '"4") '('DataSize '"166") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $13 (YtTable '"Input" $10 $11 $12 '() (Void) (Void) '"/Root/plato"))
  (let $14 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $13 $1 (Void) (Void))) '()))))
  (return (FromFlow (WideSort (WideFilter (DqReadWideWrap $14 '()) (lambda '($15) (block '(
    (let $16 (CallableType '() '((DataType 'Bool)) '((OptionalType $2)) '($2)))
    (let $17 (Udf '"String.Contains" (Void) (VoidType) '"" $16 (VoidType) '"" '('('"blocks") '('"strict"))))
    (return (Apply $17 (Just $15) (String '"7")))
  )))) '('('0 (Bool 'true))))))
))) $4))
(let $6 (DqCnMerge (TDqOutput $5 '0) '('('0 '"Asc"))))
(let $7 (DqPhyStage '($6) (lambda '($18) (FromFlow (NarrowMap (ToFlow $18) (lambda '($19) (AsStruct '('"key" $19)))))) '('('"_logical_id" '750) '('"_id" '"1ec3dde9-ce0b2675-3ce8d019-108b98c5"))))
(let $8 (DqCnResult (TDqOutput $7 '0) $1))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($5 $7) '($8) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $3) '0 '0)) '('('"type" '"query"))))
)
