IBM Support

Testing a Snowflake stored procedure results in an exception or syntax error

Troubleshooting


Problem

Testing or validating a stored procedure in Framework Manager results in an exception or syntax error.

Symptom

A Snowflake stored procedure is defined to return a table without any column definitions for the returned table.
 
CREATE OR REPLACE PROCEDURE PRES()
RETURNS TABLE ()
LANGUAGE SQL
...

Attempting to validate the stored procedure in Framework Manager throws the following exception.
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
A Snowflake stored procedure is defined to return a table, which includes column definitions.

Attempting to validate the stored procedure in Framework Manager throws the following exception.
 
net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Syntax error line 4 at position 9 unexpected '"DBCERT"'.

Document Location

Worldwide


[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"ARM Category":[{"code":"a8m50000000Cl4NAAS","label":"Modeling-\u003EFramework Manager"}],"ARM Case Number":"TS011473633","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"11.2.4;and future releases"},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM Cognos Analytics

Component:
Modeling->Framework Manager

Software version:
11.2.4 and future releases

Operating system(s):
AIX, Linux, Windows

Document number:
6957730

Modified date:
06 May 2025

UID

ibm16957730

Manage My Notification Subscriptions