(
(let $1 (StructType '('lookup_result (DataType 'String))))
(let $2 '('"_wide_channels" $1))
(let $3 '('('"_logical_id" '1017) '('"_id" '"30873115-7e6d5796-196730b6-8d923f08") $2))
(let $4 (DqPhyStage '() (lambda '() (block '(
  (let $12 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (let $13 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $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 '"4") '('DataSize '"166") '('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 '('"key") (Void) (Void))) '()))))
  (return (DqPhyHashCombine (WideToBlocks (FromFlow (DqReadWideWrap $17 '()))) '-1073741824 (lambda '($18) (Coalesce (Lookup (AsDict '((String '"800") (String '"foo"))) $18) (String '"bar"))) (lambda '($19 $20) $19) (lambda '($21 $22 $23) $23) (lambda '($24 $25) $25)))
))) $3))
(let $5 (DqCnHashShuffle (TDqOutput $4 '0) '('0) '0 '"HashV2"))
(let $6 '('('"_logical_id" '1337) '('"_id" '"3e224b25-c85d85f0-16ae8c84-c1715a39") $2))
(let $7 (DqPhyStage '($5) (lambda '($26) (block '(
  (let $27 (lambda '($30) $30))
  (let $28 (lambda '($31 $32)))
  (let $29 (WideCombiner (ToFlow (WideFromBlocks $26)) '"" $27 $28 $28 $27))
  (return (FromFlow (WideSort $29 '('('0 (Bool 'true))))))
))) $6))
(let $8 (DqCnMerge (TDqOutput $7 '0) '('('0 '"Asc"))))
(let $9 (DqPhyStage '($8) (lambda '($33) (FromFlow (NarrowMap (ToFlow $33) (lambda '($34) (AsStruct '('lookup_result $34)))))) '('('"_logical_id" '1349) '('"_id" '"3a712d66-5c4c374c-7a6cd6e1-cfeb6cac"))))
(let $10 '($4 $7 $9))
(let $11 (DqCnResult (TDqOutput $9 '0) '('lookup_result)))
(return (KqpPhysicalQuery '((KqpPhysicalTx $10 '($11) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $1) '0 '0)) '('('"type" '"query"))))
)
