-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
questionThe issue is a question. Please use Stack Overflow for questions.The issue is a question. Please use Stack Overflow for questions.
Description
Problem
I am getting maximum call stack exceeded issue with using FILTER PARAMS , use case is get the sum of values from table2 based on the timestamp passed with the cube
Table2 -> count,timestamp
Related Cube.js schema
cube(`cube`, {
sql: `select * from table1`,
dimesions: {
timestamp: {
sql: `timestamp_day`,
type: `time`
},
},
measures:{
total:'select sum(count) from table2 where ${FILTER_PARAMS.cube.timestamp.filter('timestamp')}
},
})I am always including time dimensions on my query
"timeDimensions": [
{
"dimension": "cube.timestamp",
"dateRange": [
"2025-04-04T12:24:08.890",
"2025-04-11T12:24:08.890"
]
}
]
while using total measure getting the stack overflow error like this #8707
For testing i have tried to hardcode with 1 year data it is working without any error but getting issue with Filter Params
Cubejs version: v0.35.80
Data source: Clickhouse
Metadata
Metadata
Assignees
Labels
questionThe issue is a question. Please use Stack Overflow for questions.The issue is a question. Please use Stack Overflow for questions.