Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on October 2, 2024 6:24PM
Likes: 0
Replies: 3
Exception: Reading dataset failed: b"Failed to read data from table, caused by: SnowflakeSQLException: SQL compilation error:\nObject 'PROD_.GLOBAL_PILOT' does not exist or not authorized."
You need to give more context than this. What are you trying to achieve? Post your Python recipe in a code block (the </> icon).
In the community, you can ask the following question to address your requirement:
"I would like to check if a dataframe exists before attempting to read a dataset. Furthermore, if the dataframe doesn't exist or if there are any issues in reading the dataset, I want to implement a condition to handle the error and perform a specific action. How can I achieve this in my code?"
dataiku.Dataset("cn_pilot").get_dataframe()
I would like to check if a dataframe exists before attempting to read a dataset. Furthermore, if the dataframe doesn't exist or if there are any issues in reading the dataset, I want to implement a condition to handle the error and perform a specific action. How can I achieve this in my code?
try: dataiku.Dataset("cn_pilot").get_dataframe() except Exception as e: print(e)