superset icon indicating copy to clipboard operation
superset copied to clipboard

Time series charts are not working in 0.28.1

Open zoltantalas opened this issue 8 years ago • 18 comments

Superset version

0.28.1

Expected results

To work the same way like in 0.27

Actual results

Simply it does not show any data for time series charts. Also when i create a filter box for the date it does not work. When you select any date it shows an empty box afterwards and you need to reload page to see date filter again. (and it does not filter data) doing the same steps in 0.27 is working correctly.

Steps to reproduce

create any time series related chart. eg: Time Series Table or a filter box for a date field

zoltantalas avatar Nov 12 '18 13:11 zoltantalas

Same issue. Start happened from 0.28.0

kaitorecca avatar Nov 13 '18 06:11 kaitorecca

same issue too

HouSong avatar Nov 13 '18 10:11 HouSong

if You change the X Axis Format to adaptive formatting does it work?

because if I use any other format, it doesn't show anything and I get the following error

Uncaught Error: invalid format: %d/%m/%Y
    at new s (explore.300f80d67ac07be76481.entry.js:2)
    at a (explore.300f80d67ac07be76481.entry.js:2)
    at f (explore.300f80d67ac07be76481.entry.js:2)
    at t.d3FormatPreset (explore.300f80d67ac07be76481.entry.js:2)
    at Object.generate (3.e295a71f362c7b6a4c4b.chunk.js:1)
    at e (1.af57dbf21ff83e4b75c9.chunk.js:1)

aboganas avatar Nov 13 '18 13:11 aboganas

With regard to the filter box disappearing, I'm experiencing the same issue and getting this console output.

image

joshbrooks avatar Nov 14 '18 08:11 joshbrooks

The issues in js file name prop of Time Table Series, it's array but in declaration missing []. I see the fix in 0.29rc. If you want to fix, you can edit the js file and recompile again

kaitorecca avatar Nov 15 '18 14:11 kaitorecca

Could it be the same problem as this issue: https://github.com/apache/incubator-superset/issues/5910 ? Caused by changes in how timezone awareness are handled.

nebengtsson avatar Nov 15 '18 15:11 nebengtsson

I have solved this problem by replacing function renderFilters() in FilterBox.jsx by the master.

HouSong avatar Nov 16 '18 03:11 HouSong

Could it be the same problem as this issue: #5910 ? Caused by changes in how timezone awareness are handled.

No, it's just typo issue in coding which lead to corrup array handling

kaitorecca avatar Nov 16 '18 10:11 kaitorecca

if You change the X Axis Format to adaptive formatting does it work?

because if I use any other format, it doesn't show anything and I get the following error

Uncaught Error: invalid format: %d/%m/%Y
    at new s (explore.300f80d67ac07be76481.entry.js:2)
    at a (explore.300f80d67ac07be76481.entry.js:2)
    at f (explore.300f80d67ac07be76481.entry.js:2)
    at t.d3FormatPreset (explore.300f80d67ac07be76481.entry.js:2)
    at Object.generate (3.e295a71f362c7b6a4c4b.chunk.js:1)
    at e (1.af57dbf21ff83e4b75c9.chunk.js:1)

Have you solved it?

fanguyun avatar Dec 05 '18 07:12 fanguyun

any updated when this will be corrected?

zoltantalas avatar Dec 05 '18 09:12 zoltantalas

We're kind of stuck at the moment between a bad release 0.28.1 and the ASF forcing us into proper Apache releases, which may take a moment to come up with. We should start a thread on the dev@ mailing list as to how to mitigate

mistercrunch avatar Dec 05 '18 18:12 mistercrunch

This issue is something I’m willing to investigate and attempt to fix for a few hours over the next couple days.

MarcusSorealheis avatar Dec 18 '18 05:12 MarcusSorealheis

I recommend installing the latest RC for now pip install superset==0.28.0rc7

mistercrunch avatar Dec 18 '18 05:12 mistercrunch

pip install superset==0.28.0rc7 didn't solve the issue

Tutufa avatar Dec 28 '18 12:12 Tutufa

Sorry I meant 0.29.0rc7

mistercrunch avatar Dec 28 '18 17:12 mistercrunch

@mistercrunch

git checkout 0.28.1 git cherry-pick b4a19833035393857b11e0aec3ce62c6e0681dd1

using the above filtering issues seems to be solved. But Time Series - Line Chart is still not working. does not show any error. simply doesn't show anything.

is there any working version? (greater than 0.28) End of last year (mid december) i have tried 0.29 also, but if i remember well my dashboard became very slow and threw time outs.

zoltantalas avatar Jan 04 '19 11:01 zoltantalas

We're kind of stuck at the moment between a bad release 0.28.1 and the ASF forcing us into proper Apache releases, which may take a moment to come up with. We should start a thread on the dev@ mailing list as to how to mitigate

Is there an ETA for the next release?

muraiki avatar Mar 04 '19 18:03 muraiki

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

stale[bot] avatar May 03 '19 19:05 stale[bot]