cube-js/cube

Elasticsearch driver does not work with opendistro

开放

#2,370 创建于 2021年3月15日

 (3 条评论) (0 个反应) (0 位负责人)Rust (1,965 个派生)batch import
community supportedhelp wanted

仓库指标

星标
 (19,563 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

When we use opendistro with elastic search driver it fails with below error

Error: "{\n \"error\": {\n \"reason\": \"Invalid SQL query\",\n \"details\": \"Failed to parse query due to offending symbol [:] at: 'SELECT FLOOR((TIMESTAMP_DIFF('seconds', '1970-01-01T00:00:00.000Z':' <--- HERE... More details: Expecting tokens in {'SELECT', '('}\",\n \"type\": \"SyntaxAnalysisException\"\n },\n \"status\": 400\n}"

Expected behavior Expected behavior is that cubejs will work normally without any issue on opendistro

Version: 0.26.53

贡献者指南