Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Oct 28, 2026 3:58:36 AM
Oct 28, 2026 3:45:17 AM
A Qlik Talend Data Integration storage task targeting Snowflake fails during the Compare and Apply operation with the following error:
Failed to execute sql: Compare and apply to table 'CT',
for dataset 'ACCOUNT'.
SQL compilation error: Failure during expansion
of view 'SF_ACCOUNT':
SQL compilation error: Object
'QLIK_CONFORM.SALESFORCE_ICRM_PROD_TALEND.ACCOUNT'
does not exist or not authorized.
Other datasets within the same storage task and other tasks using the same source endpoint complete successfully. Only the affected dataset fails.
Using an appropriately privileged Snowflake role, execute:
SHOW TABLES LIKE 'ACCOUNT'
IN SCHEMA QLIK_CONFORM.SALESFORCE_ICRM_PROD_TALEND;
Confirm that the table exists and has not been renamed, dropped, or moved.
SELECT GET_DDL('VIEW', '<database>.<schema>.SF_ACCOUNT');
Confirm that the view references the correct database, schema, and table.
SHOW GRANTS ON TABLE
QLIK_CONFORM.SALESFORCE_ICRM_PROD_TALEND.ACCOUNT;
SHOW GRANTS ON VIEW
<database>.<schema>.SF_ACCOUNT;
SHOW GRANTS TO ROLE <qlik_service_role>;
Verify the privileges of the role used by Qlik Cloud Data Integration and the relevant ownership and access permissions associated with the view.
If the investigation confirms that permissions are missing, have the Snowflake administrator grant the required privileges to the appropriate role.
For example, if direct table SELECT access is required for the affected role:
GRANT SELECT ON TABLE
QLIK_CONFORM.SALESFORCE_ICRM_PROD_TALEND.ACCOUNT
TO ROLE <role_name>;
If existing tables require access according to the customer's permission policy:
GRANT SELECT ON ALL TABLES IN SCHEMA
QLIK_CONFORM.SALESFORCE_ICRM_PROD_TALEND
TO ROLE <role_name>;
Use the broader grant only when required and approved.
For newly created tables, review the FUTURE GRANTS configuration separately:
GRANT SELECT ON FUTURE TABLES IN SCHEMA
QLIK_CONFORM.SALESFORCE_ICRM_PROD_TALEND
TO ROLE <role_name>;
FUTURE GRANTS do not retroactively apply to existing tables.
Using the same Snowflake role and context as the Qlik connection, execute:
SELECT *
FROM <database>.<schema>.SF_ACCOUNT
LIMIT 1;
Confirm that the query completes successfully.
Restart or retry the affected storage task and confirm that the ACCOUNT dataset completes successfully without the SQL compilation error.
The Snowflake view SF_ACCOUNT references an object that Snowflake cannot resolve or access during query execution.
The issue was associated with Snowflake object privileges and the FUTURE GRANTS configuration.
Snowflake FUTURE GRANTS apply to objects created after the grants are configured. They do not automatically grant permissions on existing objects.
If required permissions are missing on an existing object, Snowflake may return an "Object does not exist or not authorized" error.
For standard Snowflake views, the role querying the view does not normally require direct SELECT access to the underlying tables. Therefore, the privileges on the view, its referenced objects, and the relevant Snowflake roles should be checked before applying changes.
SUPPORT-10934