kaiko-ai / typedspark

Column-wise type annotations for pyspark DataFrames
Apache License 2.0
65 stars 4 forks source link

Change `db.spark_catalog.database.table.load()` into `db.spark_catalog.database.table()` #184

Closed nanne-aben closed 1 year ago

nanne-aben commented 1 year ago

Condenses the following code:

from typedspark import Catalogs

db = Catalogs(spark)
persons, Person = db.spark_catalog.default.person_table()