I’m trying to connect to new database instance which is not available in Redash Datasource. I am able to add new datasource in Redash but after adding the Details (host,port,user,pwd), I am not able to connect with the newly added database.
I am getting below error
‘NoneType’ object has no attribute ‘test_connection’
It looks like you wrote a query runner for Firebolt. Is that correct? If so, how was this query_runner installed. It seems the issue is the backend isn’t getting the query_runner object. It gets NoneType instead. So when it called query_runner.test_connection it fails because NoneType doesn’t have that attribute.
Yes, I wrote query runner for firebolt.
What do you mean by installing the query runner? - We just added firebolt.py file in query_runner folder.
How can we return the query runner object in the backend?
Additional Details: -
Also installed firebolt package in redash.
Without more information about the query runner you wrote we won’t be able to assist debugging this. Have you posted your query runner code to github or similar?