hey I am working on a backend webapi go plugin whi...
# announcements
a
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?
g
@Haytham Abuelfutuh ^^
k
@Alessandro Liparoti this already exists right?
the spotify team wrote one - @Guillaume Perchais / @Viktor Gerdin
h
Apologies for the delay @Alessandro Liparoti have you taken a look at this? https://github.com/flyteorg/flyteplugins/blob/master/go/tasks/plugins/webapi/bigquery/plugin.go
165 Views