Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: metadata columns
Browse files Browse the repository at this point in the history
chenkovsky committed Jan 9, 2025
1 parent 61afb0d commit 5bfc297
Showing 12 changed files with 686 additions and 98 deletions.
5 changes: 5 additions & 0 deletions datafusion/catalog/src/table.rs
Original file line number Diff line number Diff line change
@@ -55,6 +55,11 @@ pub trait TableProvider: Debug + Sync + Send {
/// Get a reference to the schema for this table
fn schema(&self) -> SchemaRef;

/// Get metadata columns of this table.
fn metadata_columns(&self) -> Option<SchemaRef> {
None
}

/// Get a reference to the constraints of the table.
/// Returns:
/// - `None` for tables that do not support constraints.
Loading

0 comments on commit 5bfc297

Please sign in to comment.