(
(let $1 (DataType 'Bool))
(let $2 (StructType '('"is_always_null" $1) '('"is_maybe_null" $1) '('"is_never_null" $1) '('"key" (DataType 'Int32))))
(let $3 '('('"_logical_id" '829) '('"_id" '"8c10f8f-2f7f3c99-a1e1874d-bbbcdf13") '('"_wide_channels" $2)))
(let $4 (DqPhyStage '() (lambda '() (block '(
  (let $9 '@@["StructType";[["key";["DataType";"Int32"]];["always_null";["OptionalType";["DataType";"Int32"]]];["never_null";["OptionalType";["DataType";"Int32"]]];["maybe_null";["OptionalType";["DataType";"Int32"]]]]]@@)
  (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 '"9") '('DataSize '"540") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $13 (YtTable '"Input" $10 $11 $12 '() (Void) (Void) '"/Root/plato"))
  (let $14 '('"always_null" '"key" '"maybe_null" '"never_null"))
  (let $15 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $13 $14 (Void) (Void))) '()))))
  (let $16 (lambda '($17 $18 $19 $20) (Not (Exists $17)) (Not (Exists $19)) (Not (Exists $20)) $18))
  (return (FromFlow (WideMap (WideSort (DqReadWideWrap $15 '()) '('('1 (Bool 'true)))) $16)))
))) $3))
(let $5 (DqCnMerge (TDqOutput $4 '0) '('('"3" '"Asc"))))
(let $6 (DqPhyStage '($5) (lambda '($21) (FromFlow (NarrowMap (ToFlow $21) (lambda '($22 $23 $24 $25) (AsStruct '('"is_always_null" $22) '('"is_maybe_null" $23) '('"is_never_null" $24) '('"key" $25)))))) '('('"_logical_id" '841) '('"_id" '"e5c78361-1a5dfce0-f72fa3a3-b3a6dcf9"))))
(let $7 '('"key" '"is_maybe_null" '"is_always_null" '"is_never_null"))
(let $8 (DqCnResult (TDqOutput $6 '0) $7))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($4 $6) '($8) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $2) '0 '0)) '('('"type" '"query"))))
)
