MCPcopy Create free account
hub / github.com/andre-salvati/databricks-template / __init__

Method __init__

src/template/baseTask.py:5–8  ·  view source on GitHub ↗
(self, config)

Source from the content-addressed store, hash-verified

3
4class BaseTask:
5 def __init__(self, config):
6 self.config = config
7 self.spark = config.get_spark()
8 self.logger = logging.getLogger(f"template.{self.__class__.__name__}")
9
10 def cluster_by(self, table: str, *cols: str) -> None:
11 """Set Delta liquid-clustering keys on an existing table.

Callers

nothing calls this directly

Calls 1

get_sparkMethod · 0.80

Tested by

no test coverage detected