(
(let $1 (DataType 'String))
(let $2 (OptionalType $1))
(let $3 (StructType '('"key" $2) '('"subkey" $2) '('"value" $1)))
(let $4 '('('"_logical_id" '967) '('"_id" '"cfcdabbe-683601ee-120c890a-d26d2be5") '('"_wide_channels" $3)))
(let $5 (DqPhyStage '() (lambda '() (block '(
  (let $9 '@@["StructType";[["key";["OptionalType";["DataType";"String"]]];["subkey";["OptionalType";["DataType";"String"]]];["value";["DataType";"String"]]]]@@)
  (let $10 (Bool 'true))
  (let $11 '('"key" '"subkey"))
  (let $12 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $9) '('SortDirections '($10 $10)) '('SortMembers $11) '('SortedBy $11) '('SortedByTypes '($2 $2))))
  (let $13 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" 'false)))))
  (let $14 (YtStat '('Id '"Input") '('RecordsCount '"6") '('DataSize '"238") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $15 (YtTable '"Input" $12 $13 $14 '() (Void) (Void) '"/Root/plato"))
  (let $16 '('"key" '"subkey" '"value"))
  (let $17 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $15 $16 (Void) (Void))) '('('"unordered"))))))
  (return (FromFlow (WideSort (WideFilter (DqReadWideWrap $17 '()) (lambda '($18 $19 $20) (Coalesce (> $18 (String '"023")) (Bool 'false)))) '('('0 $10) '('1 $10)))))
))) $4))
(let $6 (DqCnMerge (TDqOutput $5 '0) '('('0 '"Asc") '('1 '"Asc"))))
(let $7 (DqPhyStage '($6) (lambda '($21) (FromFlow (NarrowMap (ToFlow $21) (lambda '($22 $23 $24) (AsStruct '('"key" $22) '('"subkey" $23) '('"value" $24)))))) '('('"_logical_id" '979) '('"_id" '"b4963765-b699beed-73343b2b-33625da6"))))
(let $8 (DqCnResult (TDqOutput $7 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($5 $7) '($8) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $3) '0 '0)) '('('"type" '"query"))))
)
