(
(let $1 (Configure! world (DataSource '"config") '"DqEngine" '"force"))
(let $2 (Configure! $1 (DataSource '"dq" '"$all") '"Attr" '"maxtasksperstage" '"10"))
(let $3 (Configure! $2 (DataSource '"pq" '"$all") '"Attr" '"consumer" '"test_client"))
(let $4 (DataSource '"pq" '"pq"))
(let $5 '('('"PartitionsCount" '"1")))
(let $6 (DataType 'String))
(let $7 (StructType '('"value" $6)))
(let $8 (PqTopic '"pq" '"local" '"test_topic_input" $5 '() $7))
(let $9 '('"Endpoint" '"<pq_pq_endpoint>"))
(let $10 '('"SharedReading" '"1"))
(let $11 '('"UseSsl" '"1"))
(let $12 '('('"Consumer" '"test_client") $9 $10 '('"ReconnectPeriod" '"") '('"Format" '"json_each_row") '('"ReadGroup" '"fqrun") $11))
(let $13 (SecureParam '"cluster:default_pq"))
(let $14 (DqPqTopicSource $3 $8 '('"value") $12 $13 '"" $7 '""))
(let $15 (DataSink '"pq" '"pq"))
(let $16 (PqTopic '"pq" '"local" '"test_topic_output" $5 '() (StructType '('"Data" $6))))
(let $17 (DqPqTopicSink $16 '($9 $11) $13))
(return (Commit! (DqQuery! $3 '((DqStage '((DqSource $4 $14)) (lambda '($18) (block '(
  (let $19 '('('"format" '"json_each_row") '('"formatSettings" '('('"data.datetime.formatname" '"POSIX") '('"data.timestamp.formatname" '"POSIX"))) '('"settings" '($10))))
  (let $20 (DqSourceWideWrap $18 $4 $7 $19))
  (return (NarrowMap $20 (lambda '($21) (AsStruct '('"value" $21)))))
))) '('('"_logical_id" '0)) '((DqSink '"0" $15 $17))))) $15))
)
