cube-js/cube

Funnel step queries should be wrapped in braces

オープン

#360 opened on 2020/01/27

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (1,965 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (19,563 個のスター)
PR merge metrics
 (平均マージ 5d 16h) (30d で 138 merged PRs)

説明

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

コントリビューターガイド