Skip to content

Instantly share code, notes, and snippets.

View vivek-balakrishnan-rovio's full-sized avatar

vivek-balakrishnan-rovio

View GitHub Profile
@vivek-balakrishnan-rovio
vivek-balakrishnan-rovio / druid_ingest.py
Last active February 16, 2024 08:21
Pyspark script to ingest Hive table to Druid using rovio-ingest library
#
# Copyright 2021 Rovio Entertainment Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
@vivek-balakrishnan-rovio
vivek-balakrishnan-rovio / druid_segment_cleanup.py
Created February 18, 2022 10:54
Script to clean overshadowed segments from Metadata and Deep Storage
#
# Copyright 2021 Rovio Entertainment Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software