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

query starts to early #168

Open
Dzo67 opened this issue Nov 9, 2012 · 4 comments
Open

query starts to early #168

Dzo67 opened this issue Nov 9, 2012 · 4 comments

Comments

@Dzo67
Copy link

Dzo67 commented Nov 9, 2012

In Saiku ad-hoc plugin, there is a button to enable or disable the automatic execution of a query.
When a filter condition is applied or removed, the query that is beeing formulated already starts, regardless of the state of this button.

Is it possible to set somewhere also this type of automatoc execution to off?

@Mgiepz
Copy link
Owner

Mgiepz commented Nov 12, 2012

what do you mean, too early?
anyway, you can go to pentaho-solutions\system\saiku-adhoc\web\js\adhoc\Settings.js
there is a setting 'saiku.adhoc.query.automatic_execution': 'true'
try setting that to false

@Dzo67
Copy link
Author

Dzo67 commented Nov 20, 2012

Yes, too early, my error.
I have already set that to false, and it works fine when adding columns to a report. However the query execution starts immediately when I set a filter (drag a colum to the filter bar, double click on it, set my filter values and click Save), remove a filter or when I remove a column from the columns bar.
This is inconvenient when I want eg to set two filters, because my development server is a bit slow and now I keep waiting. I would like to add all my conditions and then give it a GO.

@Mgiepz
Copy link
Owner

Mgiepz commented Dec 14, 2012

Fixed it in trunk master branch. please verify that it works for you

@Dzo67
Copy link
Author

Dzo67 commented Dec 15, 2012

In the code segment, looking at the master branch, I don't see recently changed files, so I downloaded the build of Dec 14th from http://ci.analytical-labs.com/job/saiku-adhoc-plugin/196/.

That one is definitely much better, thank you!

For the moment I see one disadvantage: I cannot change the width of a column any more: I can drag the header to left or right, but nothing changes, even not when I rerun the query.

But my other problems as mentioned above are solved. Thanks.
I will ask our product manager to have a look at it. The next 4 weeks I will be away, after that I will give his reaction as well.

Edit: I am able to change columnwidth, when I hit the autorun button first. So I'd rather see this behavior then an automatic rerun, though having a changed colmnwidth after rerun would be the best (imho).

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