Skip to content

Funnel step queries should be wrapped in braces #360

@hassankhan

Description

@hassankhan

Describe the bug
Currently some step queries can cause the generated SQL to fail.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new funnel
  2. Add a large SQL query to a step
  3. Attempt to run a query against the funnel cube
  4. See error

Expected behavior
CubeJS should wrap any step SQL queries with braces () to prevent issues with the outer query.

Version:
v0.15.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedCommunity contributions are welcome.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      close