Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
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!

1 REPLY 1
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.

Labels
Top Solution Authors