cube-js / cube-js/cube

Issue with e-notation (Unable to parse: ParserError("Expected end of statement, found: E"))

Open
#9,190 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Rust
Stars
20.8k
Forks
2.1k
Avg merge
1d 2h
Merged PRs (30d)
181

Description

Hi! When we use e-notation with numbers, we get an error

```
Unable to parse: ParserError("Expected end of statement, found: E")
```

```json
{
"sql": "-- Metabase:: userID: 1 queryType: MBQL queryHash: af99f3614c13379e0088da2c90a15eebd93a777672dc3ba0cec8b6145e4761a9\nSELECT COUNT(*) AS \"count\" FROM \"public\".\"analytical_events_properties\" WHERE \"public\".\"analytical_events_properties\".\"event_id\" = 6.544696572843E+13"
}
{
"securityContext": {},
"appName": "Metabase v0.52.8 [9c5a5480-f15c-4690-9d42-943d3648829a]",
"protocol": "postgres",
"apiType": "sql"
}
```

cube 1.1.18
sql push down = false

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.