Replies: 2 comments
-
Could you please share more details about what you're trying to achieve? Including a sample code snippet would help clarify your intent |
Beta Was this translation helpful? Give feedback.
-
Basically this is what we're trying to do. We have source data in SNOWFLAKE_SOURCE_DATABASE and we want to process that data and then store the result somewhere else SNOWFLAKE_DEST_DATABASE. The analysis pipeline is quite complex and sometimes intermediate tables already written to SNOWFLAKE_DEST_DATABASE need to be joined on tables in the SNOWFLAKE_SOURCE_DATABASE. See this code snippet:
This code throws the error posted by Alex. Since then I've learned that although it seems that database / schema are required arguments to snowflake.connect, the connector is not actually bound to that database. So for us, a simple fix is just to write:
This code works. It's a little weird to me because the connector is initialized with the SOURCE database, but it works. Is this clearer what we're trying to do? Is the solution we came up with the recommended approach? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am having a problem with multiple backends.
IbisError: Multiple backends found for this expression
I am using a Snowflake as a backend. Source data is in one schema, and tables are written in another, which I will call the 'destination' schema. When using tables in the destination schema, i get the above error.
Is this a known/required behavior? Is it possible to select one of the backends? I am able to list the backends using
table._find_backends()
source code hereAny information is greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions