Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Currently, we use `LogicalTypeChecks.hasRoot()` and `LogicalTypeChecks.hasFamily()` for frequent checking of logical types. It was a conscious decision to not overload `LogicalType` with utility methods in the beginning. But the two mentioned methods would be nice to have available in `LogicalType` directly.
We suggest:
LogicalType#is(LogicalTypeRoot) LogicalType#is(LogicalTypeFamily)
Attachments
Issue Links
- links to