Skip to content

Conversation

@temistokles
Copy link

In case an aggregation returns 0 rows, the fetch returns null and foreach triggers a warning.

Use-case e.g.:
$selection->aggregation('MEDIAN(WEEKDAY(created)) OVER ()', 'MEDIAN')

  • bug fix YES
  • BC break? NO

In case an aggregation returns 0 rows, the fetch returns null and foreach triggers a warning.

Use-case e.g.:
$selection->aggregation('MEDIAN(WEEKDAY(created)) OVER ()', 'MEDIAN')
@dg dg force-pushed the master branch 8 times, most recently from 30a51c2 to 5951b69 Compare August 15, 2024 05:22
@dg dg force-pushed the master branch 19 times, most recently from 56e3ff3 to a308588 Compare August 17, 2024 17:48
@dg dg force-pushed the master branch 6 times, most recently from acaff11 to 524a655 Compare August 18, 2024 16:35
@dg dg force-pushed the master branch 3 times, most recently from 59cb3c7 to 8811567 Compare August 18, 2024 17:18
@dg dg force-pushed the master branch 3 times, most recently from a5e0f99 to b8d12ed Compare August 18, 2024 19:29
@dg dg force-pushed the master branch 2 times, most recently from 71f30c9 to 196f63e Compare August 18, 2024 22:01
@dg dg closed this Aug 19, 2024
peku22 pushed a commit to flatiocom/database that referenced this pull request Aug 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants