hjyyam
November 4, 2019, 7:25am
1
Issue Summary
Hi,
Currently it seems like Mixpanel is not supported in data source provided in Redash. Is there a way to integrate Mixpanel JQL manually if I am using AWS AMI provided?
Technical details:
Redash Version: 8.0.0
Browser/OS:
How did you install Redash: docker (AWS AMI)
jesse
November 6, 2019, 8:49pm
2
Mixpanel JQL isn’t supported but it’s pretty easy to write your own query runner .
To support new data source type in Redash, you need to implement a Query Runner for this data source type. I’m working on a Snowflake query runner, so decided to use this opportunity to describe the process of adding a new data source:
We start with implementing the BaseQueryRunner class:
from redash.query_runner import BaseQueryRunner
class Snowflake(BaseQueryRunner):
def run_query(self, query, user):
pass
The only method that you must implement is the run_query method, which a…
If you get one working we’d be happy to review a pull request. I’m sure the community would appreciate it as well.
Alternatively, if Mixpanel has a JSON API you can try using the JSON Data Source .