(
(let $1 (OptionalType (DataType 'Uint64)))
(let $2 (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 (SafeCast $16 $1))
    (return (AsStruct '('"column1" (ShiftLeft (+ (* (Int32 '"10") $18) (SafeCast $15 $1)) (Coalesce (SafeCast (% $18 (Int32 '"4")) (OptionalType (DataType 'Uint8))) (Uint8 '0)))) '('"t.key" $15) '('"t.subkey" $16) '('"t.value" $17)))
  ))))))
))) '('('"_logical_id" '1153) '('"_id" '"df3d3c34-674fe426-b684889d-fee8e828"))))
(let $3 (DqCnUnionAll (TDqOutput $2 '0)))
(let $4 (DqPhyStage '($3) (lambda '($19) $19) '('('"_logical_id" '1210) '('"_id" '"a046f2a6-44a42ee0-aa3debf5-b585ef00"))))
(let $5 '('"t.key" '"t.subkey" '"t.value" '"column1"))
(let $6 (DqCnResult (TDqOutput $4 '0) $5))
(let $7 (DataType 'String))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($2 $4) '($6) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"column1" $1) '('"t.key" $7) '('"t.subkey" $7) '('"t.value" $7))) '0 '0)) '('('"type" '"query"))))
)
