Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(hogql): use correct toDecimal function #26826

Merged
merged 3 commits into from
Dec 11, 2024
Merged

fix(hogql): use correct toDecimal function #26826

merged 3 commits into from
Dec 11, 2024

Conversation

timgl
Copy link
Collaborator

@timgl timgl commented Dec 11, 2024

Problem

toDecimal errors because we're not passing through the precision argument.

Changes

Change the toDecimal function to require precision

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

Does this work well for both Cloud and self-hosted?

How did you test this code?

@timgl timgl requested a review from robbie-c December 11, 2024 11:02
@timgl timgl enabled auto-merge (squash) December 11, 2024 11:06
@timgl timgl merged commit 65077a3 into master Dec 11, 2024
88 checks passed
@timgl timgl deleted the fix-todecimal branch December 11, 2024 13:19
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