Skip to content

Commit 91f30b9

Browse files
authored
chore(catalog): remove deprecated ViewTable try_new (Closes apache#23080 - partial) (apache#23131)
Removes the deprecated ViewTable::try_new constructor (deprecated since 47.0.0). A repo-wide grep confirms zero callers; the only inline references are the function definition itself plus the deprecated attribute lines. Pure 11-line deletion. Part of apache#23080 (partial - second removal in this housekeeping series after apache#23129). AI assistance: used an AI coding assistant to identify and minimally remove the unused deprecated constructor; verified via repo-wide grep that the symbol has no callers.
1 parent 30d944c commit 91f30b9

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

‎datafusion/catalog/src/view.rs‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,6 @@ impl ViewTable {
5959
}
6060
}
6161

62-
#[deprecated(
63-
since = "47.0.0",
64-
note = "Use `ViewTable::new` instead and apply TypeCoercion to the logical plan if needed"
65-
)]
66-
pub fn try_new(
67-
logical_plan: LogicalPlan,
68-
definition: Option<String>,
69-
) -> Result<Self> {
70-
Ok(Self::new(logical_plan, definition))
71-
}
72-
7362
/// Get definition ref
7463
pub fn definition(&self) -> Option<&String> {
7564
self.definition.as_ref()

0 commit comments

Comments
 (0)