| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:e99150d5-d082-b4ae-f354-8880674d5734 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E74A:3F539E:2D4286:3E4B8A:6B046A9C |
| html-safe-nonce | 77896e2f2d8149a51c405ef20a757487c8b4b6339478a52d63f0b0656eb6b794 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzRBOjNGNTM5RToyRDQyODY6M0U0QjhBOjZCMDQ2QTlDIiwidmlzaXRvcl9pZCI6IjQxMzk3NTk5MDg5ODAyNzE2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4048b6e5731d395ed8ec049d63630225afdc0503a6880cbd4f3e189ed14ae1cd |
| hovercard-subject-tag | pull_request:3679848072 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/commits |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/apache/datafusion-java/pull/46/commits |
| twitter:image | https://opengraph.githubassets.com/f4823b1ec8b58ae8cdd05c3ec806546d7d783a0b666a9df7f1d865338fde3868/apache/datafusion-java/pull/46 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f4823b1ec8b58ae8cdd05c3ec806546d7d783a0b666a9df7f1d865338fde3868/apache/datafusion-java/pull/46 |
| og:image:alt | Which issue does this PR close?
N/A
Rationale for this change
Add support for implement scalar UDFs in Java.
What changes are included in this PR?
Public Java API
ScalarUdf @FunctionalInterface wi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andygrove |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| turbo-cache-control | no-cache |
| go-import | github.com/apache/datafusion-java git https://github.com/apache/datafusion-java.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 1237105117 |
| octolytics-dimension-repository_nwo | apache/datafusion-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1237105117 |
| octolytics-dimension-repository_network_root_nwo | apache/datafusion-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/apache/datafusion-java/pull/46/commits#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fdatafusion-java%2Fpull%2F46%2Fcommits |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fdatafusion-java%2Fpull%2F46%2Fcommits |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=apache%2Fdatafusion-java |
| Reload | https://github.com/apache/datafusion-java/pull/46/commits |
| Reload | https://github.com/apache/datafusion-java/pull/46/commits |
| Reload | https://github.com/apache/datafusion-java/pull/46/commits |
| apache | https://github.com/apache |
| datafusion-java | https://github.com/apache/datafusion-java |
| Code | https://github.com/apache/datafusion-java |
| Issues10 (10) | https://github.com/apache/datafusion-java/issues |
| Pull requests10 (10) | https://github.com/apache/datafusion-java/pulls |
| Discussions | https://github.com/apache/datafusion-java/discussions |
| Actions | https://github.com/apache/datafusion-java/actions |
| Security and quality | https://github.com/apache/datafusion-java/security |
| Insights | https://github.com/apache/datafusion-java/insights |
| https://github.com/apache/datafusion-java |
| andygrove | https://github.com/andygrove |
| apache:main | https://github.com/apache/datafusion-java/tree/main |
| andygrove:feat/scalar-udf | https://github.com/andygrove/datafusion-java/tree/feat/scalar-udf |
| Conversation | https://github.com/apache/datafusion-java/pull/46 |
| Commits14 (14) | https://github.com/apache/datafusion-java/pull/46/commits |
| Checks | https://github.com/apache/datafusion-java/pull/46/checks |
| Files changed | https://github.com/apache/datafusion-java/pull/46/files |
| feat: add Java scalar UDF support | https://github.com/apache/datafusion-java/pull/46/commits#top |
| andygrove | https://github.com/andygrove |
| apache:main | https://github.com/apache/datafusion-java/tree/main |
| andygrove:feat/scalar-udf | https://github.com/andygrove/datafusion-java/tree/feat/scalar-udf |
| feat(native): cache JavaVM in OnceLock via JNI_OnLoad | https://github.com/apache/datafusion-java/pull/46/commits/7517f86dc25edbabacc18bcb766f16f8b40b6795 |
| https://github.com/andygrove |
| andygrove | https://github.com/apache/datafusion-java/commits?author=andygrove |
| 7517f86 | https://github.com/apache/datafusion-java/pull/46/commits/7517f86dc25edbabacc18bcb766f16f8b40b6795 |
| https://github.com/apache/datafusion-java/tree/7517f86dc25edbabacc18bcb766f16f8b40b6795 |
| feat(udf): add ScalarUdf interface and Volatility enum | https://github.com/apache/datafusion-java/pull/46/commits/52a2589c5100535a8cf31c8c4aeb1b0f266b9374 |
| https://github.com/andygrove |
| andygrove | https://github.com/apache/datafusion-java/commits?author=andygrove |
| 52a2589 | https://github.com/apache/datafusion-java/pull/46/commits/52a2589c5100535a8cf31c8c4aeb1b0f266b9374 |
| https://github.com/apache/datafusion-java/tree/52a2589c5100535a8cf31c8c4aeb1b0f266b9374 |
| feat(udf): add JniBridge trampoline for per-call UDF invocation | https://github.com/apache/datafusion-java/pull/46/commits/10c32bbbd88470a52f39b48aa92207d7cdb1313d |
| https://github.com/andygrove |
| andygrove | https://github.com/apache/datafusion-java/commits?author=andygrove |
| 10c32bb | https://github.com/apache/datafusion-java/pull/46/commits/10c32bbbd88470a52f39b48aa92207d7cdb1313d |
| https://github.com/apache/datafusion-java/tree/10c32bbbd88470a52f39b48aa92207d7cdb1313d |
| feat(native): add JavaScalarUdf skeleton implementing ScalarUDFImpl | https://github.com/apache/datafusion-java/pull/46/commits/b4df1325ebda20a203cb109707d13917e919a049 |
| https://github.com/andygrove |
| andygrove | https://github.com/apache/datafusion-java/commits?author=andygrove |
| b4df132 | https://github.com/apache/datafusion-java/pull/46/commits/b4df1325ebda20a203cb109707d13917e919a049 |
| https://github.com/apache/datafusion-java/tree/b4df1325ebda20a203cb109707d13917e919a049 |
| feat(udf): register Java UDFs via SessionContext.registerUdf | https://github.com/apache/datafusion-java/pull/46/commits/36ce35ff0a84b8d3859ccc4003881e805353e05d |
| https://github.com/andygrove |
| andygrove | https://github.com/apache/datafusion-java/commits?author=andygrove |
| 36ce35f | https://github.com/apache/datafusion-java/pull/46/commits/36ce35ff0a84b8d3859ccc4003881e805353e05d |
| https://github.com/apache/datafusion-java/tree/36ce35ff0a84b8d3859ccc4003881e805353e05d |
| feat(udf): implement invoke_with_args via Arrow C Data Interface | https://github.com/apache/datafusion-java/pull/46/commits/9d933c471bc54ccd10740419f4827b15c54d2316 |
| https://github.com/andygrove |
| andygrove | https://github.com/apache/datafusion-java/commits?author=andygrove |
| 9d933c4 | https://github.com/apache/datafusion-java/pull/46/commits/9d933c471bc54ccd10740419f4827b15c54d2316 |
| https://github.com/apache/datafusion-java/tree/9d933c471bc54ccd10740419f4827b15c54d2316 |
| fix(udf): plug exception leak, add SAFETY comment, validate row count and zero-arg case | https://github.com/apache/datafusion-java/pull/46/commits/264bcb0f61ed610fb06f4d649dd62f7f117d4a11 |
| https://github.com/andygrove |
| andygrove | https://github.com/apache/datafusion-java/commits?author=andygrove |
| 264bcb0 | https://github.com/apache/datafusion-java/pull/46/commits/264bcb0f61ed610fb06f4d649dd62f7f117d4a11 |
| https://github.com/apache/datafusion-java/tree/264bcb0f61ed610fb06f4d649dd62f7f117d4a11 |
| test(udf): cover concat, square, and repeated invocations | https://github.com/apache/datafusion-java/pull/46/commits/742629c1f42d170fa9c51bfde6a3c203c1a28bdc |
| https://github.com/andygrove |
| andygrove | https://github.com/apache/datafusion-java/commits?author=andygrove |
| 742629c | https://github.com/apache/datafusion-java/pull/46/commits/742629c1f42d170fa9c51bfde6a3c203c1a28bdc |
| https://github.com/apache/datafusion-java/tree/742629c1f42d170fa9c51bfde6a3c203c1a28bdc |
| test(udf): cover null/wrong-rows/wrong-type/exception contract violations | https://github.com/apache/datafusion-java/pull/46/commits/cf187a3250cad238c0cadd51b0bd03b14d6cd047 |
| https://github.com/andygrove |
| andygrove | https://github.com/apache/datafusion-java/commits?author=andygrove |
| cf187a3 | https://github.com/apache/datafusion-java/pull/46/commits/cf187a3250cad238c0cadd51b0bd03b14d6cd047 |
| https://github.com/apache/datafusion-java/tree/cf187a3250cad238c0cadd51b0bd03b14d6cd047 |
| test(udf): cover multi-UDF, cross-session, and multi-row lifecycle | https://github.com/apache/datafusion-java/pull/46/commits/4ef01fdc6af20a21c6fa6cf9568b503dca25eb89 |
| https://github.com/andygrove |
| andygrove | https://github.com/apache/datafusion-java/commits?author=andygrove |
| 4ef01fd | https://github.com/apache/datafusion-java/pull/46/commits/4ef01fdc6af20a21c6fa6cf9568b503dca25eb89 |
| https://github.com/apache/datafusion-java/tree/4ef01fdc6af20a21c6fa6cf9568b503dca25eb89 |
| test(udf): exercise all three Volatility kinds | https://github.com/apache/datafusion-java/pull/46/commits/086cba7e121c28fe4ab9a2d7339812ce41dc3538 |
| https://github.com/andygrove |
| andygrove | https://github.com/apache/datafusion-java/commits?author=andygrove |
| 086cba7 | https://github.com/apache/datafusion-java/pull/46/commits/086cba7e121c28fe4ab9a2d7339812ce41dc3538 |
| https://github.com/apache/datafusion-java/tree/086cba7e121c28fe4ab9a2d7339812ce41dc3538 |
| docs(udf): add user-guide page and runnable AddOne example | https://github.com/apache/datafusion-java/pull/46/commits/0d06aa549d7abd3056633aa229bfe337a89877b7 |
| https://github.com/andygrove |
| andygrove | https://github.com/apache/datafusion-java/commits?author=andygrove |
| 0d06aa5 | https://github.com/apache/datafusion-java/pull/46/commits/0d06aa549d7abd3056633aa229bfe337a89877b7 |
| https://github.com/apache/datafusion-java/tree/0d06aa549d7abd3056633aa229bfe337a89877b7 |
| refactor(udf): null-guard registerUdf arguments and drop dead assertion | https://github.com/apache/datafusion-java/pull/46/commits/296b3beb83cd168a21a9acfab83bf0ff1a87e320 |
| https://github.com/andygrove |
| andygrove | https://github.com/apache/datafusion-java/commits?author=andygrove |
| 296b3be | https://github.com/apache/datafusion-java/pull/46/commits/296b3beb83cd168a21a9acfab83bf0ff1a87e320 |
| https://github.com/apache/datafusion-java/tree/296b3beb83cd168a21a9acfab83bf0ff1a87e320 |
| refactor(udf): split ScalarUdf into ScalarFunction impl iface and holder class | https://github.com/apache/datafusion-java/pull/46/commits/d1c9803eeeaa3a1fc5d97c7d43c236eef3008fdb |
| https://github.com/andygrove |
| andygrove | https://github.com/apache/datafusion-java/commits?author=andygrove |
| d1c9803 | https://github.com/apache/datafusion-java/pull/46/commits/d1c9803eeeaa3a1fc5d97c7d43c236eef3008fdb |
| https://github.com/apache/datafusion-java/tree/d1c9803eeeaa3a1fc5d97c7d43c236eef3008fdb |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |