(
(let $1 (DataSink '"kikimr" '"db"))
(let $2 '('('"downsampling.fill" '"ABC") '('"from" '"1970-01-01T00:00:01Z") '('"program" '"{}") '('"to" '"1970-01-02T00:00:01Z")))
(let $3 '('"labels" '"value" '"ts" 'type))
(let $4 (DataType 'String))
(let $5 (StructType '('"labels" (DictType $4 $4)) '('"ts" (DataType 'Datetime)) '('type $4) '('"value" (OptionalType (DataType 'Double)))))
(let $6 '('('"mode" '"flush")))
(let $7 (KiExecDataQuery! world $1 (DataQueryBlocks (TKiDataQueryBlock '('((Right! (SoReadObject! world (DataSource '"solomon" '"/Root/local_solomon") (SoObject '"my_project" $2) $3 '() '() '() '"" $5)) '() '0 '0)) (KiEffects) '() '())) $6 (Void)))
(let $8 (DataSink 'result))
(let $9 (ResPull! (Left! $7) $8 (Key) (Nth (Right! $7) '0) '('('type) '('autoref)) '"kikimr"))
(return (Commit! (Commit! $9 $8) $1 $6))
)
