Skip to content

[BUG] Visualization and DataFrame export issues in v0.9.76-v0.9.78 with dynamic blocks #5854

@Lukacs5

Description

@Lukacs5

Mage version

v0.9.76

Describe the bug

Title: Visualization and DataFrame export issues in v0.9.76 with dynamic blocks

Description:

JSON visualization issue

In many cases, JSON outputs are not visualized in the UI — instead, they are just printed as raw text.

This occurs especially often with dynamic blocks.

It happens in most runs, making it hard to inspect data visually.

DataFrame export limitation

If a block outputs multiple DataFrames (e.g., df1, df2), only the first one (df1) can be exported.

Even if df2 is the desired output, there’s no way to export it from the UI.

Additionally, if df2 contains columns already present in df1, it sometimes replaces the displayed output entirely.

Steps to reproduce:

Create a dynamic block producing JSON output.

Observe that visualization often fails (raw print instead of formatted view).

Create a block that outputs df1 and df2.

Try to export df2 → only df1 is available for export.

Expected behavior:

JSON outputs should be consistently visualized in the UI.

DataFrame export should allow selecting which DataFrame to export, not just the first one.

Environment:

Mage.ai v0.9.76

Browser: Google Chrome (around v138)

OS: Windows 11

Using dynamic blocks

To reproduce

No response

Expected behavior

No response

Screenshots

No response

Operating system

Browser: Google Chrome (around v138)
OS: Windows 11

Additional context

No response

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions