ColumnTypeInfo¶
- class lsst.daf.butler.ColumnTypeInfo(timespan_cls: type[lsst.daf.butler.timespan_database_representation.TimespanDatabaseRepresentation], universe: DimensionUniverse, dataset_id_spec: FieldSpec, run_key_spec: FieldSpec, ingest_date_dtype: type[lsst.daf.butler.ddl.AstropyTimeNsecTai] | type[sqlalchemy.sql.sqltypes.TIMESTAMP])¶
- Bases: - object- A struct that aggregates information about column types that can differ across data repositories due to - Registryand dimension configuration.- Attributes Summary - Python type corresponding to - ingest_datecolumn type.- Methods Summary - make_relation_table_spec(columns[, unique_keys])- Create a specification for a table with the given relation columns. - Attributes Documentation - ingest_date_pytype¶
- Python type corresponding to - ingest_datecolumn type.- Returns:
- type
- The Python type. 
 
 
 - Methods Documentation - make_relation_table_spec(columns: Iterable[ColumnTag], unique_keys: Iterable[Iterable[ColumnTag]] = ()) TableSpec¶
- Create a specification for a table with the given relation columns. - This is used primarily to create temporary tables for query results. - Parameters:
- Returns:
- specddl.TableSpec
- Specification for a table. 
 
- spec