Alessandro Liparoti

12/31/2021, 2:13 PM
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
outputWriter.Put(ctx, ioutils.NewInMemoryOutputReader(outputs, nil))
to store a
structure to be visible in console. I do this in
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?

George Snelling

01/03/2022, 10:31 PM
@Haytham Abuelfutuh ^^

Ketan (kumare3)

01/04/2022, 4:45 PM
@Alessandro Liparoti this already exists right?
the spotify team wrote one - @Guillaume Perchais / @Viktor Gerdin

Haytham Abuelfutuh

01/07/2022, 7:36 PM
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