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

TEMP: examples for glam js udf conversions #5689

Closed
wants to merge 1 commit into from
Closed

Conversation

BenWu
Copy link
Contributor

@BenWu BenWu commented May 30, 2024

Some examples of converting js udfs to sql for mozilla/glam#2840. These are the easier ones

┆Issue is synchronized with this Jira Task


SELECT
assert.equals(
'{"0":0.1111,"1":0.6667,"2":0}',
'{"0":0.1111,"1":0.6667,"2":0.0}',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Becomes a float because of sql typing

@BenWu BenWu closed this May 30, 2024
@BenWu
Copy link
Contributor Author

BenWu commented May 30, 2024

Passes the sql unit tests but the clients_scalar_probe_counts_v1 test fails so there's probably something incorrect here

@BenWu BenWu deleted the benwu/glam-udf-example branch May 30, 2024 18:56
@edugfilho edugfilho mentioned this pull request May 31, 2024
5 tasks
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.

None yet

2 participants