BUG - Postgres node with "Map Automatically" mangles string arrays

Describe the problem/error/question

Using Postgres with Map Automatically + text column corrupts the output of the previous node, turning it from an string[] to object.

What is the error message (if any)?

Please share your workflow

Share the output returned by the last node

expected: 1 item
actual: no items

Information on your n8n setup

  • n8n version: 1.120.4
  • Database (default: SQLite): postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): ?? cloud
  • Running n8n via (Docker, npm, n8n cloud, desktop app): cloud
  • Operating system: os x

With postgres active

With postgres inactive.

Thank you for sharing this bug report. I was able to reproduce this. I created a bug report. Internal ticket id is NODE-4001. Will get an update when this is fixed.

1 Like

New version [email protected] got released which includes the GitHub PR 22426.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.