(
(let $1 (DqPhyStage '() (lambda '() (block '(
  (let $10 '@@["StructType";[["first_null";["OptionalType";["DataType";"Uint32"]]];["first_num";["OptionalType";["DataType";"Uint32"]]];["second_null";["OptionalType";["OptionalType";["DataType";"Uint32"]]]];["second_num";["OptionalType";["OptionalType";["DataType";"Uint32"]]]];["third_null";["OptionalType";["OptionalType";["OptionalType";["DataType";"Uint32"]]]]];["third_num";["OptionalType";["OptionalType";["OptionalType";["DataType";"Uint32"]]]]]]]@@)
  (let $11 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $10)))
  (let $12 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $13 (YtStat '('Id '"Input") '('RecordsCount '1) '('DataSize '"109") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $14 (YtTable '"Input" $11 $12 $13 '() (Void) (Void) '"/Root/plato"))
  (let $15 '('"first_null" '"first_num" '"second_null" '"second_num" '"third_null" '"third_num"))
  (let $16 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $14 $15 (Void) (Void) (Void))) '()))))
  (return (FromFlow (NarrowMap (DqReadWideWrap $16 '()) (lambda '($17 $18 $19 $20 $21 $22) (block '(
    (let $23 (Uint32 '22))
    (let $24 (Uint32 '122))
    (let $25 (Just $24))
    (let $26 (Uint32 '42))
    (let $27 (Uint32 '133))
    (let $28 (Just $27))
    (let $29 (Uint32 '43))
    (let $30 (Uint32 '222))
    (let $31 (Just $30))
    (let $32 (Uint32 '442))
    (let $33 (Uint32 '233))
    (let $34 (Just $33))
    (let $35 (Uint32 '443))
    (let $36 (Just $23))
    (let $37 (Uint32 '33))
    (let $38 (Just $37))
    (return (AsStruct '('"column0" (String '"first")) '('"column1" (Coalesce $17 $23)) '('"column10" (Coalesce (Coalesce $19 $25) $26)) '('"column11" (Coalesce (Coalesce $20 $28) $29)) '('"column12" (Coalesce (Coalesce $19 $31) $32)) '('"column13" (Coalesce (Coalesce $20 $34) $35)) '('"column14" (String '"third")) '('"column15" (Coalesce $21 (Just $36))) '('"column16" (Coalesce $22 (Just $38))) '('"column17" (Coalesce (Coalesce $21 (Just $25)) (Just $26))) '('"column18" (Coalesce (Coalesce $22 (Just $28)) (Just $29))) '('"column19" (Coalesce (Coalesce (Coalesce $21 (Just $31)) (Just $32)) (Uint32 '100500))) '('"column2" (Coalesce $18 $37)) '('"column20" (Coalesce (Coalesce (Coalesce $22 (Just $34)) (Just $35)) (Uint32 '100501))) '('"column21" (String '"end")) '('"column3" (Coalesce $17 $24)) '('"column4" (Coalesce $18 $27)) '('"column5" (Coalesce $17 $30)) '('"column6" (Coalesce $18 $33)) '('"column7" (String '"second")) '('"column8" (Coalesce $19 $36)) '('"column9" (Coalesce $20 $38))))
  ))))))
))) '('('"_logical_id" '2903) '('"_id" '"241bedd3-ea55cfb0-a608be08-f2c5d18b"))))
(let $2 (DqCnUnionAll (TDqOutput $1 '0)))
(let $3 (DqPhyStage '($2) (lambda '($39) $39) '('('"_logical_id" '3079) '('"_id" '"a4b6909b-b040de40-5150ce69-f3b9c41e"))))
(let $4 '('"column0" '"column1" '"column2" '"column3" '"column4" '"column5" '"column6" '"column7" '"column8" '"column9" '"column10" '"column11" '"column12" '"column13" '"column14" '"column15" '"column16" '"column17" '"column18" '"column19" '"column20" '"column21"))
(let $5 (DqCnResult (TDqOutput $3 '0) $4))
(let $6 (DataType 'String))
(let $7 (DataType 'Uint32))
(let $8 (OptionalType $7))
(let $9 (OptionalType $8))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($1 $3) '($5) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"column0" $6) '('"column1" $7) '('"column10" $7) '('"column11" $7) '('"column12" $7) '('"column13" $7) '('"column14" $6) '('"column15" $9) '('"column16" $9) '('"column17" $8) '('"column18" $8) '('"column19" $7) '('"column2" $7) '('"column20" $7) '('"column21" $6) '('"column3" $7) '('"column4" $7) '('"column5" $7) '('"column6" $7) '('"column7" $6) '('"column8" $8) '('"column9" $8))) '0 '0)) '('('"type" '"query"))))
)
