-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
bugLEGACY. Use the Bug issue type insteadLEGACY. Use the Bug issue type instead
Description
Problem
I don't understand how to apply filter by time measure (timestampMin or timestampMax) in a cubejs playground and whether it's possible or not. I'm getting "TypeError: Cannot read properties of null (reading 'split')" when I'm trying to add a filter like timestampMin in date range/not in date range/before date/after date. No sql generated, "Run Query" button is inactive.
I do able to filter by requests measure.
Cube.js schema
cube(`Cube`, {
...
measures: {
requests: {
sql: `count`,
type: `sum`
},
timestampMin: {
sql: `min(timestamp)`,
type: `time`
},
timestampMax: {
sql: `max(timestamp)`,
type: `time`
},
},
dimensions: {
....
timestamp: {
sql: `timestamp`,
type: `time`
},
.....
})Cubejs version: v1.2.30
Data source: Clickhouse
Metadata
Metadata
Assignees
Labels
bugLEGACY. Use the Bug issue type insteadLEGACY. Use the Bug issue type instead