Skip to content

Commit

Permalink
Update comment of TableObject::TableFunction in src/ast/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Ifeanyi Ubah <[email protected]>
  • Loading branch information
byte-sourcerer and iffyio authored Jan 9, 2025
1 parent ba19901 commit 01cf364
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/ast/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7774,7 +7774,12 @@ pub enum TableObject {
// for simple table name
TableName(#[cfg_attr(feature = "visitor", visit(with = "visit_relation"))] ObjectName),

// for Clickhouse [table functions](https://clickhouse.com/docs/en/sql-reference/table-functions)
/// Table specified as a function.
/// Example:
/// ```sql
/// INSERT INTO TABLE FUNCTION remote('localhost', default.simple_table)
/// ```
/// [Clickhouse](https://clickhouse.com/docs/en/sql-reference/table-functions)
TableFunction(Function),
}

Expand Down

0 comments on commit 01cf364

Please sign in to comment.