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

Filter not in MQL #177

Open
tgrahl opened this issue Feb 6, 2013 · 2 comments
Open

Filter not in MQL #177

tgrahl opened this issue Feb 6, 2013 · 2 comments

Comments

@tgrahl
Copy link

tgrahl commented Feb 6, 2013

Hallo,

thanks for the great work on Saiku Adhoc.
Have a question, so will post it here as an "issue", but its just a question.

If I add a filter(Country=US) in the Adhoc UI, the executed mql and sql does not contain the filter. But at the same time the result report is filtered, so assuming the filtering is happening in Saiku.

What is the reason why the filter is not passed to the mql? As with big data values the database is taking some strain, even thought the actual filtered report is only a few rows.

Thanks,
Thorsten

@Mgiepz
Copy link
Owner

Mgiepz commented Feb 6, 2013

Hi!
The filtering is done through a parameter that is passed from the report
to the data-access layer (CDA).
The mql should contain a parameter (placeholder) for that value. There
is no filtering on the result done
in saiku, it all happens in the database.

Am 06.02.2013 13:01, schrieb tgrahl:

Hallo,

thanks for the great work on Saiku Adhoc.
Have a question, so will post it here as an "issue", but its just a
question.

If I add a filter(Country=US) in the Adhoc UI, the executed mql and
sql does not contain the filter. But at the same time the result
report is filtered, so assuming the filtering is happening in Saiku.

What is the reason why the filter is not passed to the mql? As with
big data values the database is taking some strain, even thought the
actual filtered report is only a few rows.

Thanks,
Thorsten


Reply to this email directly or view it on GitHub
#177.

@tgrahl
Copy link
Author

tgrahl commented Feb 7, 2013

Hi,
thank for quick reply.
Did some further debugging, and it does filter the SQL if the filter is of STRING type, but when INT the filter is not in the mql or in the sql.
So not sure if the issue with CDA or Saiku, but issue is probably related to #165 so could close this issue.

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