Skip to content

Commit 6208acc

Browse files
rustyconoverclaude
andcommitted
Add metadata enums import and AGGREGATE function type to catalog interface
- Import FunctionStability, NullHandling, OrderPreservation, OrderDependence, and DistinctDependence enums from vgi.metadata for use in FunctionInfo - Add AGGREGATE value to FunctionType enum for future aggregate function support - Re-export imported enums via __all__ for convenient access 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 4f641c1 commit 6208acc

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

vgi/catalog/catalog_interface.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,22 @@
1313
import pyarrow as pa
1414

1515
import vgi.ipc_utils
16+
from vgi.metadata import (
17+
DistinctDependence,
18+
FunctionStability,
19+
NullHandling,
20+
OrderDependence,
21+
OrderPreservation,
22+
)
23+
24+
__all__ = [
25+
# Re-exported from vgi.metadata
26+
"DistinctDependence",
27+
"FunctionStability",
28+
"NullHandling",
29+
"OrderDependence",
30+
"OrderPreservation",
31+
]
1632

1733
# Type aliases for improved code clarity and type checking.
1834
# At runtime, these are equivalent to their underlying types.
@@ -300,6 +316,7 @@ class FunctionType(Enum):
300316

301317
SCALAR = "scalar"
302318
TABLE = "table"
319+
AGGREGATE = "aggregate"
303320

304321

305322
class OnConflict(Enum):

0 commit comments

Comments
 (0)