hey I am working on a backend webapi go plugin whi...
# announcements
g
hey I am working on a backend webapi go plugin which runs a BigQuery query. I am trying to write an output for the task so whenever the query is successful I use
Copy code
outputWriter.Put(ctx, ioutils.NewInMemoryOutputReader(outputs, nil))
to store a
outputs
structure to be visible in console. I do this in
Status
method (in this interface) whenever the job is completed. However it seems the protobuf is not written (thus not visible). I followed the same approach for a core plugin and it worked. Am I doing something wrong here in the way I am using the webapi plugin?
h
@high-park-82026 ^^
f
@gray-monitor-26005 this already exists right?
the spotify team wrote one - @boundless-twilight-37555 / @average-cpu-32189
h
Apologies for the delay @gray-monitor-26005 have you taken a look at this? https://github.com/flyteorg/flyteplugins/blob/master/go/tasks/plugins/webapi/bigquery/plugin.go
165 Views