These are chat archives for getredash/redash

17th
Jan 2017
HenroRitchie
@HenroRitchie
Jan 17 2017 03:13
Hi @arikfr . I look at the differences between v0.11 and v0.12 and noticed only three additional migrations. 0025 and 2x 0026. I applied both those to the old database of v0.11 and now the queries and dashboards are showing in v0.12
Please confirm if migration 0025 and 2x of 0026 are the only migrations I must run to move the database from v0.11 to v0.12?
Neil Shah
@shahneil88
Jan 17 2017 03:48
@arikfr - I am using your script at https://gist.github.com/arikfr/9e93251a18ff7de649faf50bfaca8944 for refreshing few queries dynamically. I could see Last Executed time getting update whenever I execute the refresh script. But, when I go to Dashboard to see the chart. it still shows the old data with new "Last Executed time". I think it must be cache issue. How do I overcome this?
Arik Fraimovich
@arikfr
Jan 17 2017 09:27
@shahneil88 the query has parameters?
@fpieront we already have support for default values :) just save the query when the parameter has a value and it gets persisted.
@HenroRitchie I'm not sure. Just compare the folders between the servers. It sounds reasonable...
Florian Pieront
@fpieront
Jan 17 2017 09:29
gotcha, that's helpful, thanks. Although I was thinking further along the lines of "Take value / if box is empty, don't filter"
So that I can either use the box to filter, or choose to leave it empty and receive the unfiltered query output.
Arik Fraimovich
@arikfr
Jan 17 2017 09:32
I don't thin we can implement "if box empty, don't filter" as it depends on the query. What we can do is support empty values and let you figure how to handle this case. Because sometimes empty values are not desirable, I think it should be a toggle for the parameter "allow empty values".
Florian Pieront
@fpieront
Jan 17 2017 09:50
oh yeah that's the direction I was going into, my use case is fairly simple so this will do
I'd still like to do some work on it though and see if I can find an general solution
Neil Shah
@shahneil88
Jan 17 2017 09:51
@arikfr - No