(
(let $1 (DataType 'String))
(let $2 (StructType '('"key" $1) '('"subkey" $1) '('"value" $1)))
(let $3 '('('"_logical_id" '876) '('"_id" '"7d5d0334-825e34bd-1ba9aff2-4109bac2") '('"_wide_channels" $2)))
(let $4 (DqPhyStage '() (lambda '() (block '(
  (let $8 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (let $9 (Bool 'true))
  (let $10 '($9 $9 $9))
  (let $11 '('"key" '"subkey" '"value"))
  (let $12 '($1 $1 $1))
  (let $13 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $8) '('SortDirections $10) '('SortMembers $11) '('SortedBy $11) '('SortedByTypes $12)))
  (let $14 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $15 (YtStat '('Id '"Input") '('RecordsCount '"6") '('DataSize '"252") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $16 (YtTable '"Input" $13 $14 $15 '() (Void) (Void) '"/Root/plato"))
  (let $17 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $16 $11 (Void) (Void))) '('('"unordered"))))))
  (return (FromFlow (WideSort (WideFilter (DqReadWideWrap $17 '()) (lambda '($18 $19 $20) (block '(
    (let $21 (List (ListType $1) (String '"075") (String '"023") (String '"037")))
    (let $22 (ToDict $21 (lambda '($23) $23) (lambda '($24) (Void)) '('One 'Auto)))
    (return (Contains $22 $18))
  )))) '('('0 $9)))))
))) $3))
(let $5 (DqCnMerge (TDqOutput $4 '0) '('('0 '"Asc"))))
(let $6 (DqPhyStage '($5) (lambda '($25) (FromFlow (NarrowMap (ToFlow $25) (lambda '($26 $27 $28) (AsStruct '('"key" $26) '('"subkey" $27) '('"value" $28)))))) '('('"_logical_id" '888) '('"_id" '"5db7b8fb-16608a57-b83f0d7b-8db375d2"))))
(let $7 (DqCnResult (TDqOutput $6 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($4 $6) '($7) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $2) '0 '0)) '('('"type" '"query"))))
)
