{"id":19176998,"url":"https://github.com/joomcode/spark-platform","last_synced_at":"2025-07-18T02:41:38.156Z","repository":{"id":93110116,"uuid":"528860337","full_name":"joomcode/spark-platform","owner":"joomcode","description":"Basic Spark utilities","archived":false,"fork":false,"pushed_at":"2025-02-20T14:34:08.000Z","size":195,"stargazers_count":11,"open_issues_count":2,"forks_count":4,"subscribers_count":35,"default_branch":"main","last_synced_at":"2025-05-07T20:07:56.676Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joomcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-08-25T13:20:26.000Z","updated_at":"2025-02-20T14:16:36.000Z","dependencies_parsed_at":"2024-01-15T22:36:31.003Z","dependency_job_id":"af89ed21-2724-4e78-8314-44c4c3b0d088","html_url":"https://github.com/joomcode/spark-platform","commit_stats":null,"previous_names":[],"tags_count":71,"template":false,"template_full_name":null,"purl":"pkg:github/joomcode/spark-platform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joomcode%2Fspark-platform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joomcode%2Fspark-platform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joomcode%2Fspark-platform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joomcode%2Fspark-platform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joomcode","download_url":"https://codeload.github.com/joomcode/spark-platform/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joomcode%2Fspark-platform/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265692786,"owners_count":23812207,"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","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-11-09T10:31:33.800Z","updated_at":"2025-07-18T02:41:38.114Z","avatar_url":"https://github.com/joomcode.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Joom Spark Platform\n\nThis repository is the home for foundational Spark tools used by the analytics Platform at Joom.\n\n## Installation\n\nThe packages for Spark 3.2.2 with both Scala 2.12 and 2.13 are available from the maven central repository.\n\nWhen using sbt:\n\n```\nlibraryDependencies += \"com.joom.spark\" % \"spark-platform_2.12\" % \"0.1.2\"\n```\n\nWhen using Gradle:\n\n```\nimplementation group: 'com.joom.spark', name: 'spark-platform_2.12', version: '0.1.2'\n```\n\n## Explicit repartitionioning\n\nThe `ExplicitRepartition` class is used to explicitly control which partition a given row\nshould be in - and is immune to hash collisions. The usage is as simple as \n```\nval rdf = df\n    .withColumn(\"desired_partition\", ...your expression...)\n    .explicitRepartition(8, $\"desired_partition\")\n```\n\nPlease see the [testcase](https://github.com/joomcode/spark-platform/blob/main/lib/src/test/scala/com/joom/spark/ExplicitRepartitionSpec.scala) for\nthe complete example, and for details and motivation, please see the companion blog post:\n[Spark Partitioning: Full Control](https://medium.com/@vladimir.prus/spark-partitioning-full-control-3c72cea2d74d)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoomcode%2Fspark-platform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoomcode%2Fspark-platform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoomcode%2Fspark-platform/lists"}