Hi,

While enabling Python as a datasource, I lost Oracle as a datasource.

To summarize:

if I have only this in my .env file:

export REDASH_ADDITIONAL_QUERY_RUNNERS=redash.query_runner.oracle

Oracle works fine as a datasource

If I put
export REDASH_ADDITIONAL_QUERY_RUNNERS=redash.query_runner.oracle
export REDASH_ADDITIONAL_QUERY_RUNNERS=redash.query_runner.python

Oracle disappears as a datasource but Python appears

If I put

export REDASH_ADDITIONAL_QUERY_RUNNERS=redash.query_runner.python
export REDASH_ADDITIONAL_QUERY_RUNNERS=redash.query_runner.oracle

Oracle is appearing, but Python disappears.

There must be some kind of dependency. Where can I look further to understand the problem?

(I have always done a sudo /etc/init.d/redash_supervisord restart
after each change to the .env file)

Hi,

When you declare it twice, it just takes the last value. You need to specify them in one line:

export REDASH_ADDITIONAL_QUERY_RUNNERS=redash.query_runner.oracle,redash.query_runner.python

Thanks a ton! Works perfectly! Sorry for the mistake!

1 Like