Forum Discussion
Could not read message metadata
- 11 months ago
Thanks for the suggestions.
The issue was, snowflake was returning column which has length more than 100000 and lookup can not return lengths till 99000.
Trimmed the message to 99000 in snowflake and it worked.
Thanks,
Girish
Thank you for your question on the Microsoft Fabric Community Forum.
The error occurs because Microsoft Fabric pipelines are unable to process result sets returned by Snowflake stored procedures. While the procedure executes successfully in Snowflake and loads the data as expected, the pipeline fails when attempting to parse the output. The message "arrow/ipc: could not read message metadata: unexpected EOF" appears when the stored procedure returns a result set or status message that the connector cannot interpret.
To resolve this, ensure that the stored procedure does not return any result sets. Remove or suppress any SELECT statements used for status messages, and consider returning a simple scalar value (such as 'OK') or no value at all. If the existing procedure must remain unchanged for other use cases, you may create a wrapper procedure that calls the original and only returns a basic status. Alternatively, use a pipeline activity that executes the procedure without attempting to read its results.
By preventing the procedure from returning a result set, the Fabric pipeline will execute successfully and load your data into the warehouse without encountering parsing errors.
I hope this information is helpful. . If you have any further questions, please let us know. we can assist you further.
Regards,
Microsoft Fabric Community Support Team.
Thanks for the suggestions.
The issue was, snowflake was returning column which has length more than 100000 and lookup can not return lengths till 99000.
Trimmed the message to 99000 in snowflake and it worked.
Thanks,
Girish