Skip to content

Instantly share code, notes, and snippets.

Avatar

vivek-balakrishnan-rovio

View GitHub Profile
@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
View druid_segment_cleanup.py
#
# 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_ingest.py
Last active September 15, 2022 10:03
Pyspark script to ingest Hive table to Druid using rovio-ingest library
View druid_ingest.py
#
# 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