{"id":16422953,"url":"https://github.com/vector4wang/quick-udfs","last_synced_at":"2026-06-13T02:05:28.961Z","repository":{"id":42120017,"uuid":"252477533","full_name":"vector4wang/quick-udfs","owner":"vector4wang","description":"udf开发案例","archived":false,"fork":false,"pushed_at":"2022-04-12T21:58:23.000Z","size":15,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-24T22:54:49.390Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vector4wang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-02T14:24:14.000Z","updated_at":"2020-07-23T01:50:47.000Z","dependencies_parsed_at":"2022-08-12T07:02:14.698Z","dependency_job_id":null,"html_url":"https://github.com/vector4wang/quick-udfs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vector4wang/quick-udfs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vector4wang%2Fquick-udfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vector4wang%2Fquick-udfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vector4wang%2Fquick-udfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vector4wang%2Fquick-udfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vector4wang","download_url":"https://codeload.github.com/vector4wang/quick-udfs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vector4wang%2Fquick-udfs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284988465,"owners_count":27095952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-18T02:00:05.759Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T07:38:21.234Z","updated_at":"2025-11-18T02:03:16.064Z","avatar_url":"https://github.com/vector4wang.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n使用下面仓库使用docker搭建一个hive服务\n\nhttps://github.com/big-data-europe/docker-hive\n\n将jar包上传到容器内\n```bash\ndocker cp /quick-udfs-1.0-SNAPSHOT.jar contain-id:/opt/udfs\n```\n\n使用udf的步骤\n```bash\nDROP TEMPORARY FUNCTION IF EXIST hello;\ndelete jar /opt/udfs/quick-udfs-1.0-SNAPSHOT.jar;\nadd jar /opt/udfs/quick-udfs-1.0-SNAPSHOT.jar;\ncreate temporary function udf_test as 'com.quick.udf.simple.SampleUdf';\nselect udf_test(id) from t_split limit 10;\n```\n\n注意：\n- 一个udf对应一个module，这样打包的时候，jar包里只有一个udf；参见[问题](https://blog.csdn.net/qqHJQS/article/details/107394152)\n- 打包中不需要把依赖打进去\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvector4wang%2Fquick-udfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvector4wang%2Fquick-udfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvector4wang%2Fquick-udfs/lists"}