Skip to content

Conversation

@katzyn
Copy link
Contributor

@katzyn katzyn commented Jan 5, 2025

  • Non-standard GCD and LCM functions similar to functions from PostgreSQL, but allowing more than two arguments (like in Data Analysis Expressions) for convenience.
  • Non-standard GCD_AGG and LCM_AGG aggregate functions.

They are very useful to calculate a sum of owner shares stored as simple fractions like 1/2, 3/17, 1/100, etc.

@katzyn katzyn merged commit 69a40ea into h2database:master Jan 6, 2025
2 checks passed
@katzyn katzyn deleted the gcd_lcm branch January 6, 2025 03:22
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.

1 participant