(
(let $1 (DataType 'Double))
(let $2 (OptionalType $1))
(let $3 (DqPhyStage '() (lambda '() (block '(
  (let $8 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (let $9 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $8)))
  (let $10 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $11 (YtStat '('Id '"Input") '('RecordsCount '"4") '('DataSize '"166") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $12 (YtTable '"Input" $9 $10 $11 '() (Void) (Void) '"/Root/plato"))
  (let $13 '('"key" '"subkey" '"value"))
  (let $14 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $12 $13 (Void) (Void))) '()))))
  (return (FromFlow (NarrowMap (DqReadWideWrap $14 '()) (lambda '($15 $16 $17) (block '(
    (let $18 '($1))
    (let $19 '('('"strict")))
    (let $20 (OptionalType (DataType 'Uint64)))
    (let $21 (IfPresent (* (Apply (Udf '"Math.Pi" (Void) (VoidType) '"" (CallableType '() $18) (VoidType) '"" $19)) (ShiftLeft (+ (* (Int32 '"10") (SafeCast $16 $20)) (SafeCast $15 $20)) (Uint8 '1))) (lambda '($22) (block '(
      (let $23 '($1 '"" '1))
      (let $24 (CallableType '() $18 $23))
      (let $25 (Udf '"Math.Floor" (Void) (VoidType) '"" $24 (VoidType) '"" $19))
      (return (Just (Apply $25 $22)))
    ))) (Nothing $2)))
    (return (AsStruct '('"key" $15) '('"linear" $21) '('"subkey" $16) '('"value" $17)))
  ))))))
))) '('('"_logical_id" '1117) '('"_id" '"3ef9ed72-afe8cb6b-3bcfedc9-c86867bb"))))
(let $4 (DqCnUnionAll (TDqOutput $3 '0)))
(let $5 (DqPhyStage '($4) (lambda '($26) $26) '('('"_logical_id" '1171) '('"_id" '"d39e7c75-6766fa6e-c76578fd-59ba220b"))))
(let $6 (DqCnResult (TDqOutput $5 '0) '()))
(let $7 (DataType 'String))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($3 $5) '($6) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"key" $7) '('"linear" $2) '('"subkey" $7) '('"value" $7))) '0 '0)) '('('"type" '"query"))))
)
