You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3a02407
Browse filesBrowse the repository at this point in the historyBrowse files
// The cross-object path's FK-resolve aggregate on the related object
218
+
// (`groupBy: ['id', attr]`): the engine's position there, judged by the
219
+
// service before the related object is read.
220
+
["a related object's formula through 'account.'",onObject({dimensions: ['account.name_calc']}),[ACCOUNT,'name_calc','groupBy.1']],
221
+
])('[#29304] refuses a plain group over a formula (%s) on the query and the dry run alike, where native answered 500 and the dry run rendered GROUP BY calc',async(_label,query,expected)=>{
expect(aggregate,'declined: the engine judged it').toHaveBeenCalledTimes(1);
242
+
}finally{
243
+
aggregate.mockRestore();
244
+
}
245
+
});
246
+
184
247
it.each<[string,Query,string]>([
185
248
["beside a cross-object 'account.name' (its FK column first)",onObject({dimensions: ['account.name'],timeDimensions: [td('region','month')]}),'groupBy.1.dateGranularity'],
186
249
['after a raw date column and a datetime bucket',onObject({dimensions: ['closed_on'],timeDimensions: [td('closed_at','month'),td('region','month')]}),'groupBy.2.dateGranularity'],
])('[#29304] refuses a plain dimension over a formula (returnType %s) with the engine\'s refusal on every face, where native answered 500, ObjectQL the driver backstop, and the preview one null group',async(_label,field)=>{
0 commit comments