(
(let $1 (DataType 'String))
(let $2 (OptionalType $1))
(let $3 (DqPhyStage '() (lambda '() (block '(
  (let $9 '@@["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 $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 '1) '('DataSize '"109") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $13 (YtTable '"Input" $10 $11 $12 '() (Void) (Void) '"/Root/plato"))
  (let $14 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $13 '('"first_null" '"first_num") (Void) (Void))) '()))))
  (return (FromFlow (NarrowMap (DqReadWideWrap $14 '()) (lambda '($15 $16) (block '(
    (let $17 (Nothing (OptionalType (DictType $1 $1))))
    (let $18 (Nothing (OptionalType (DictType $1 (DataType 'Yson)))))
    (let $19 (TryWeakMemberFromDict $17 $18 'Uint32 '"first_null"))
    (let $20 (Coalesce $15 $19))
    (let $21 (TryWeakMemberFromDict $17 $18 'Uint32 '"first_num"))
    (let $22 (Coalesce $16 $21))
    (return (AsStruct '('"missed_def" (Just (String '"no value"))) '('"missed_nodef" (Nothing $2)) '('"null_def" $20) '('"null_nodef" $20) '('"num_def" $22) '('"num_nodef" $22)))
  ))))))
))) '('('"_logical_id" '853) '('"_id" '"8196e2d2-6acfd17b-128bdbd0-f20760f9"))))
(let $4 (DqCnUnionAll (TDqOutput $3 '0)))
(let $5 (DqPhyStage '($4) (lambda '($23) $23) '('('"_logical_id" '907) '('"_id" '"4cd04d99-5e8cae9a-5f2ba0a6-e314644f"))))
(let $6 '('"num_nodef" '"num_def" '"null_nodef" '"null_def" '"missed_nodef" '"missed_def"))
(let $7 (DqCnResult (TDqOutput $5 '0) $6))
(let $8 (OptionalType (DataType 'Uint32)))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($3 $5) '($7) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"missed_def" $2) '('"missed_nodef" $2) '('"null_def" $8) '('"null_nodef" $8) '('"num_def" $8) '('"num_nodef" $8))) '0 '0)) '('('"type" '"query"))))
)
