Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get SQL query from MAPD crossfilter #58

Open
sachinpkaushik2383 opened this issue Jun 15, 2018 · 2 comments
Open

How to get SQL query from MAPD crossfilter #58

sachinpkaushik2383 opened this issue Jun 15, 2018 · 2 comments

Comments

@sachinpkaushik2383
Copy link

Hi I needed to fetch the SQL as string from mapd-crossfilter to embed in my vega spec can anyone help me in this regard.

@biovisualize
Copy link
Contributor

Can you post this question on the community forum https://community.mapd.com/ ? We can help you from there, just to leave Github issues for bug reports and feature requests. I'm pretty sure the answer will be around Crossfilter.writeQuery https://github.com/mapd/mapd-crossfilter/blob/master/src/mapd-crossfilter.js#L1198

@sachinpkaushik2383
Copy link
Author

sachinpkaushik2383 commented Jun 19, 2018

Hi I have made changes in the attached js file in order to expose writeQuery function for getting access to SQL queries, can anyone from the code reviewer team pls review the js file and let me know if I have done it correctly or suggest changes if required.

@biovisualize : You were right about the method to use and it is feature I need in my requirement.

mapd-crossfilter.js.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants