question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

after upgrade superset 2.0 cant render a chart with event annotation on dashboard

See original GitHub issue

After upgrading superset to 2.0, it cant render a chart with Event Annotation on dashboard and return:

Unexpected error
An error occurred while rendering the visualization: TypeError: Cannot use 'in' operator to search for 'columns' in undefined

Screenshot 2022-07-25 at 13 37 28

Screenshot 2022-07-25 at 13 43 23

If remove annotation chart render properly.

Expected: chart with event annotation worked as before.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:11
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
sowocommented, Jul 26, 2022

I confirm this issue after upgrading from from 1.5.1 to 2.0, annotations cannot be rendered. In my case, I use an annotation layer which results in the same error as shown above.

when hiding the annotation, the charts render just fine.

4reactions
alexey-kasiyanikcommented, Jul 27, 2022

Yes, have faced this issue as well 😦 As for now we are not able to migrate to version 2.0 just because a lot of charts use annotations.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Superset Annotations in Preset
Annotations are used to add more context to a chart by adding a layer of content. Each annotation layer can contain one or...
Read more >
Building Custom Viz Plugins in Superset v2 - YouTube
The monorepo project has changed the workflow for crafting new custom viz plugins in Superset. In this Meetup, we'll showcase the updated, ...
Read more >
Apache Superset/Preset: Superset Annotations - YouTube
An introduction to including interval and event Superset annotations into your line charts. ... Your browser can't play this video.
Read more >
0.36 PDF - Superset Documentation
If you keep the default selection to overwrite the chart, your annotation will be saved to the chart and also appear automatically in...
Read more >
Hibernate ORM 5.4.33.Final User Guide - Red Hat on GitHub
What isn't and will not be supported; 21.21.2. ... Hibernate annotations. 25.2.1. ... Since there was no explicit type mapping, Hibernate looks to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found