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

feat(hog): new STL functions #27006

Merged
merged 12 commits into from
Dec 19, 2024
Merged

feat(hog): new STL functions #27006

merged 12 commits into from
Dec 19, 2024

Conversation

mariusandra
Copy link
Collaborator

@mariusandra mariusandra commented Dec 18, 2024

Problem

The Hog STL could use improvements.

Changes

Adds functions found in the last 1000 queries that we didn't yet support:

JSONExtractArrayRaw JSONExtractFloat JSONExtractInt JSONExtractString addDays 
and assumeNotNull coalesce dateAdd dateDiff dateTrunc equals extract floor greater 
greaterOrEquals if in less lessOrEquals min2 minus multiIf not notEquals or plus range 
round startsWith substring toIntervalDay toIntervalHour toIntervalMinute toIntervalMonth
toMonth toStartOfDay toStartOfHour toStartOfMonth toStartOfWeek toYYYYMM toYear today

There's a lot more to add, but that's for later.

How did you test this code?

Test for the new functions, still WIP as I want to double check everything.

@mariusandra mariusandra changed the title add is-null to hog feat(hog): new STL functions Dec 18, 2024
@mariusandra mariusandra requested a review from a team December 18, 2024 22:19
Copy link
Contributor

Size Change: 0 B

Total Size: 1.11 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 1.11 MB

compressed-size-action

@mariusandra mariusandra merged commit efb4063 into master Dec 19, 2024
98 checks passed
@mariusandra mariusandra deleted the hog-is-null branch December 19, 2024 07:57
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