QuestionQ94

Transform Data

While executing an external function, the following error is returned:

Error: Function received the wrong number of rows

What causes this error?

Explanation

A Snowflake scalar external function may receive multiple rows in a batch, but its remote service must return exactly one output row for each input row. The error occurs when the response contains more or fewer rows than the request contained.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!