cube-js/cube

`shouldFetchDryRun` should consider changes made to filters

開放

#3,552 建立於 2021年10月18日

 (1 則留言) (0 個反應) (0 位負責人)Rust (1,965 個分叉)batch import
client:reacthelp wanted

倉庫指標

星標
 (19,563 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Describe the bug When I modify filters using updateFilters methods within QueryBuilder, a dry run does not occur as expected. Adding filters to the existing shouldFetchDryRun array (['measures', 'dimensions', 'timeDimensions']) fixes the issue.

To Reproduce Steps to reproduce the behavior:

  1. Call updateFilters.add QueryBuilder (@cubejs-client/react) to modify filters
  2. A dry run does not occur

Expected behavior I expect a filter change to prompt a dry run.

Screenshots https://github.com/cube-js/cube.js/blob/master/packages/cubejs-client-react/src/QueryBuilder.jsx#L485-L488

Version: 0.28.43

Additional context Add any other context about the problem here.

貢獻者指南