Hi everyone. I am trying to write a task to Insert...
# flyte-support
a
Hi everyone. I am trying to write a task to Insert a row into Postgres table. Because there is very little guide on Insert, so can anyone provide me any documentation on this issue? Thanks you for help.
Use
insert into …
in query_template
a
insert does not return results. so, what should I define in "output_schema_type" field?
g
just set it to None
Copy code
output_schema_type=None
👍 1
a
This is my code. and error after compile.
f
@glamorous-carpet-83516 seems None is not handled
👍 1
Can we Do it
a
It seems that Flyte task must have a return result
g
yes, but
None
should be acceptable. @adamant-zoo-87864 sorry, I’ll fix it.
164 Views