MCPcopy Create free account
hub / github.com/apache/datafusion / ident

Function ident

datafusion/expr/src/expr_fn.rs:110–112  ·  view source on GitHub ↗

Create an unqualified column expression from the provided name, without normalizing the column. For example: ```rust # use datafusion_expr::{col, ident}; let c1 = ident("A"); // not normalized staying as column 'A' let c2 = col("A"); // normalized via SQL rules becoming column 'a' assert_ne!(c1, c2); let c3 = col(r#""A""#); assert_eq!(c1, c3); let c4 = col("t1.a"); // parses as relation 't1' c

(name: impl Into<String>)

Source from the content-addressed store, hash-verified

108/// assert_ne!(c4, c5);
109/// ```
110pub fn ident(name: impl Into<String>) -> Expr {
111 Expr::Column(Column::from_name(name))
112}
113
114/// Create placeholder value that will be filled in (such as `$1`)
115///

Callers 2

describeMethod · 0.85

Calls 1

ColumnClass · 0.50

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…