Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Can't call Snowflake GET_OBJECT_REFERENCES function

pozzyal
7 - Meteor

I'm trying to run the following statement from an input tool in Alteryx (using actual object names):

 

SELECT * FROM TABLE(GET_OBJECT_REFERENCES(DATABASE_NAME => 'DATABASE_NAME', SCHEMA_NAME => 'SCHEMA_NAME', OBJECT_NAME => 'OBJECT_NAME'));

 

It runs as expected in the Snowflake UI, but when I run in Alteryx (using the same account/permissions) I get this error:

 

Screenshot 2025-08-07 105144.png

Does anyone know how to correct this? 

 

Thanks!

2 REPLIES 2
apathetichell
20 - Arcturus

hypothesis --- alteryx didn't build for < or > in the sql query --- so this is breaking up the xml. You can test this by turning on logging your Snowflake driver in odbc64 (not in Alteryx) ---- and see what happens. some potential fixes:

 

1) try running in-db --- use connect in-db and drop this in. See if that works any better.

dreldrel
9 - Comet

You can try to remove the semicolon and see if that helps. Sometimes it helps me, which is pretty weird.

Labels
Top Solution Authors