(
(let $1 (DqPhyStage '() (lambda '() (block '(
  (let $6 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (let $7 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $6)))
  (let $8 '"$update_row = ($row) -> (AddMember($row, 'new_value', 'NEW_VALUE')); PROCESS self USING $update_row(TableRow());")
  (let $9 '"$update_key = ($key) -> ($key || '.updated'); SELECT $update_key(key) as key, subkey, value from self")
  (let $10 '('('"native_strict_schema" '"false") '('"_yql_view_lambda_process" $8) '('"_yql_view_lambda" $9)))
  (let $11 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs $10)))
  (let $12 (YtStat '('Id '"Input") '('RecordsCount '1) '('DataSize '"41") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $13 (YtTable '"Input" $7 $11 $12 '() (Void) (Void) '"/Root/plato"))
  (let $14 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $13 (Void) (Void) (Void))) '()))))
  (return (FromFlow (NarrowMap (DqReadWideWrap $14 '()) (lambda '($15 $16 $17) (AsStruct '('"key" (Concat $15 (String '".updated"))) '('"subkey" $16) '('"value" $17))))))
))) '('('"_logical_id" '749) '('"_id" '"8d4a3469-78da3093-23120764-d8228fc1"))))
(let $2 (DqCnUnionAll (TDqOutput $1 '0)))
(let $3 (DqPhyStage '($2) (lambda '($18) $18) '('('"_logical_id" '796) '('"_id" '"e2b7a20c-18cd5711-f5fe0760-2cba783"))))
(let $4 (DqCnResult (TDqOutput $3 '0) '()))
(let $5 (DataType 'String))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($1 $3) '($4) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"key" $5) '('"subkey" $5) '('"value" $5))) '0 '0)) '('('"type" '"query"))))
)
