Skip to main content
Question

postgres writer inserts 0 instead of actual value


istvanv
Participant
Forum|alt.badge.img

I got a workspace that I run and as an output it creates one row with statistics.

If I run the workspace the output is correct both with inspector and the row written to postgres.

If I use another workspace with a workspace runner to run the workspace for multiple areas, one of my column values is 0 in every row.

Any thoughts?

2 replies

erik_jan
Contributor
Forum|alt.badge.img+18
  • Contributor
  • June 17, 2020

0 is probably the default value for the attribute in the table.

So, could it be that the attribute does not get a value (or not a valid value: char instead of number) if you run it for multiple areas?

Hope this helps finding the issue.


istvanv
Participant
Forum|alt.badge.img
  • Author
  • Participant
  • June 17, 2020
erik_jan wrote:

0 is probably the default value for the attribute in the table.

So, could it be that the attribute does not get a value (or not a valid value: char instead of number) if you run it for multiple areas?

Hope this helps finding the issue.

my last row is running the workspace manually the rows before that are when it's being run with a workspace runner. the tables are being created by me, and i haven't set any default values,


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings