(
(let $1 '@@["StructType";[["na";["DataType";"Date"]];["nd";["DataType";"Datetime"]];["nt";["DataType";"Timestamp"]];["naz";["DataType";"TzDate"]];["ndz";["DataType";"TzDatetime"]];["ntz";["DataType";"TzTimestamp"]];["wa";["DataType";"Date32"]];["wd";["DataType";"Datetime64"]];["wt";["DataType";"Timestamp64"]];["ni";["DataType";"Interval"]];["wi";["DataType";"Interval64"]];["i8";["DataType";"Int8"]];["u8";["DataType";"Uint8"]];["i16";["DataType";"Int16"]];["u16";["DataType";"Uint16"]];["i32";["DataType";"Int32"]];["u32";["DataType";"Uint32"]];["i64";["DataType";"Int64"]];["u64";["DataType";"Uint64"]];["waz";["DataType";"TzDate32"]];["wdz";["DataType";"TzDatetime64"]];["wtz";["DataType";"TzTimestamp64"]]]]@@)
(let $2 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $1)))
(let $3 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
(let $4 (YtStat '('Id '"Dates") '('RecordsCount '1) '('DataSize '"376") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
(let $5 (YtTable '"Dates" $2 $3 $4 '() (Void) (Void) '"/Root/plato"))
(let $6 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $5 '('"ni" '"wi") (Void) (Void))) '()))))
(let $7 (Interval '"86400000000"))
(let $8 (Interval64 '"86400000000"))
(let $9 (DqPhyStage '() (lambda '() (FromFlow (NarrowMap (DqReadWideWrap $6 '()) (lambda '($25 $26) (AsStruct '('"column0" (+ $25 $7)) '('"column1" (+ $26 $7)) '('"column2" (+ $25 $8)) '('"column3" (+ $26 $8))))))) '('('"_logical_id" '1513) '('"_id" '"99740898-8df864b9-52e8368-74d2dc81"))))
(let $10 (DqCnUnionAll (TDqOutput $9 '0)))
(let $11 (DqPhyStage '($10) (lambda '($27) $27) '('('"_logical_id" '1654) '('"_id" '"db42e783-85573727-c1d6e76d-6c5dcc2f"))))
(let $12 '('"column0" '"column1" '"column2" '"column3"))
(let $13 (DqCnResult (TDqOutput $11 '0) $12))
(let $14 '('('"type" '"generic")))
(let $15 (KqpPhysicalTx '($9 $11) '($13) '() $14))
(let $16 (DqPhyStage '() (lambda '() (FromFlow (NarrowMap (DqReadWideWrap $6 '()) (lambda '($28 $29) (AsStruct '('"column0" (+ $7 $28)) '('"column1" (+ $7 $29)) '('"column2" (+ $8 $28)) '('"column3" (+ $8 $29))))))) '('('"_logical_id" '1604) '('"_id" '"b0bcc163-b3bc81f3-7ea2ef77-ea6530a2"))))
(let $17 (DqCnUnionAll (TDqOutput $16 '0)))
(let $18 (DqPhyStage '($17) (lambda '($30) $30) '('('"_logical_id" '1843) '('"_id" '"97fac211-dd033e2a-c012a1a3-d9fd55aa"))))
(let $19 (DqCnResult (TDqOutput $18 '0) $12))
(let $20 (KqpPhysicalTx '($16 $18) '($19) '() $14))
(let $21 (OptionalType (DataType 'Interval64)))
(let $22 (ListType (StructType '('"column0" (OptionalType (DataType 'Interval))) '('"column1" $21) '('"column2" $21) '('"column3" $21))))
(let $23 (KqpTxResultBinding $22 '0 '0))
(let $24 (KqpTxResultBinding $22 '1 '0))
(return (KqpPhysicalQuery '($15 $20) '($23 $24) '('('"type" '"query"))))
)
