This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Profiles BigQuery results for Top N key4Hashes.""" | |
# pip install memory_profiler | |
from memory_profiler import profile | |
from google.cloud import bigquery as bq | |
QUERY_TMPL = """SELECT * | |
FROM `phyndexer-production.phyndexer_production.key4Grouped1` |