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

WASM UDF support #1653

Open
snork-alt opened this issue Jun 19, 2023 · 10 comments
Open

WASM UDF support #1653

snork-alt opened this issue Jun 19, 2023 · 10 comments

Comments

@snork-alt
Copy link
Contributor

snork-alt commented Jun 19, 2023

📝 Description:

This is a proposal for a new feature in Dozer Core, to enhance the functionality by allowing users to define a SQL User Defined Function (UDF) implemented in WASM (AssemblyScript)

🌟 Feature Details:

Users should be able to define a WASM UDF usable in Dozer SQL.

In order to implement an UDF a user should:

  • Add a .wasm file to the project folder (for example in the directory udfs/wasm/my_function.wasm)
  • Add the following configuration lines to dozer-config.yaml:
udfs:
  wasm:
     my_function: udfs/wasm/my_function

Upon startup Dozer should load the wasm function and make it available in Dozer SQL. my_function() should now be usable from SQL as:

SELECT my_function(filed1, field2) FROM ...
@snork-alt
Copy link
Contributor Author

/bounty $600

@algora-pbc
Copy link

algora-pbc bot commented Jun 19, 2023

💎 $600 bounty • Dozer Data

Steps to solve:

  1. Start working: Comment /attempt #1653 with your implementation plan
  2. Submit work: Create a pull request including /claim #1653 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Additional opportunities:

Thank you for contributing to getdozer/dozer!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @hi-rustin Jun 19, 2023, 3:35:39 PM WIP
🟢 @tachyonicbytes Jun 19, 2023, 11:46:33 PM #1654
🟢 @varshith257 May 19, 2024, 4:35:43 PM WIP

@hi-rustin

This comment was marked as outdated.

@jemilu2
Copy link

jemilu2 commented Jun 19, 2023

@hi-rustin, use the attempt comment above to indicate you've started working on it.

@hi-rustin
Copy link
Contributor

/attempt #1653

@tachyonicbytes
Copy link

Hi! I also wanted to explore this issue

/attempt #1653

@algora-pbc
Copy link

algora-pbc bot commented Jun 19, 2023

Note: The user @hi-rustin is already attempting to complete issue #1653 and claim the bounty. If you attempt to complete the same issue, there is a chance that @hi-rustin will complete the issue first, and be awarded the bounty. We recommend discussing with @hi-rustin and potentially collaborating on the same solution versus creating an alternate solution.

@algora-pbc
Copy link

algora-pbc bot commented Jun 19, 2023

💡 @tachyonicbytes submitted a pull request that claims the bounty. You can visit your org dashboard to reward.

@hi-rustin
Copy link
Contributor

hi-rustin commented Jun 20, 2023

@tachyonicbytes Perhaps before contributing to the open source community you need to ask the original people if they have started work. Otherwise, it's going to be an endless race for speed :(

@varshith257
Copy link

varshith257 commented May 19, 2024

/attempt #1653

Algora profile Completed bounties Tech Active attempts Options
@varshith257 1 bounty from 1 project
TypeScript, Go
Cancel attempt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants