cube-js / cube-js/cube

Filters not round tripping when pasting query into playground

Open
#8,908 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
20.8k
Forks
2.1k
Avg merge
1d 2h
Merged PRs (30d)
181

Description

**Describe the bug**

Filters are ignored when pasting a query into the playground. The query could be one that the playground itself has generated (through the user clicking and adding filters), but the filters are ignored when executing the query.

The query therefore does not round-trip.

**To Reproduce**

Steps to reproduce the behavior:
1. Create a query through the playground UI.
3. Click on the pencil icon to reveal the query JSON.
4. Copy the JSON and store elsewhere.
5. Clear down or otherwise change the query. Or open the playground in a new browser.
6. Click the pencil icon and paste in the previous query.
7. Run the query.

**Expected behavior**

I would expect the filters to be retained.

**Version:**

1.1.2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.