cube-js/cube

Elasticsearch driver does not work with opendistro

Open

#2 370 ouverte le 15 mars 2021

Voir sur GitHub
 (3 commentaires) (0 réactions) (0 assignés)Rust (1 965 forks)batch import
community supportedhelp wanted

Métriques du dépôt

Stars
 (19 563 stars)
Métriques de merge PR
 (Merge moyen 5j 16h) (138 PRs mergées en 30 j)

Description

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

Guide contributeur