Skip to content

Instantly share code, notes, and snippets.

View avolok's full-sized avatar
🎯
Focusing

Alexandr Volok avolok

🎯
Focusing
View GitHub Profile
@avolok
avolok / DeltaTableConfig.py
Last active January 24, 2024 21:58
Medium/DeltaProperty/DeltaTableConfig.py
from delta import DeltaTable
from pyspark.sql import SparkSession
from typing import Union
import logging
def get_logger(name: str):
"""Returns an instance of the logger"""
logger = logging.getLogger(name)