Skip to content

Commit 3250848

Browse files
committed
update catalog
1 parent 768b6c0 commit 3250848

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/datafusion/catalog.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,10 @@ def __init__(self, table: df_internal.Table) -> None:
6666
"""This constructor is not typically called by the end user."""
6767
self.table = table
6868

69+
@property
6970
def schema(self) -> pyarrow.Schema:
7071
"""Returns the schema associated with this table."""
71-
return self.table.schema()
72+
return self.table.schema
7273

7374
@property
7475
def kind(self) -> str:

0 commit comments

Comments
 (0)