cube-js/cube

Cube.js not waiting for response from Elasticsearch

Open

#1,183 创建于 2020年10月7日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Rust (1,965 fork)batch import
community supporteddriver:elasticsearchhelp wanted

仓库指标

Star
 (19,563 star)
PR 合并指标
 (平均合并 5天 16小时) (30 天内合并 138 个 PR)

描述

Describe the bug While trying to call elasticsearch to get the data into cube.js. It usually takes 5 to 10 seconds to get the response as the volume of data is huge (~ 120 million), but cube.js is not waiting until it gets the response. Also, we could see that the elasticsearch SQL query is still running in the cube.js console and we can get the response into the cube.js the second time as it's already fetched and stored in cube.js cache.

Expected behavior Cube.js must wait until it gets the response from elasticsearch or an option to override the default wait timeout before pushing to cube.js cache.

贡献者指南