Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
col in datafusion::logical_expr::expr_fn - Rust
[go: Go Back, main page]

Function datafusion::logical_expr::expr_fn::col

source ยท
pub fn col(ident: impl Into<Column>) -> Expr
Expand description

Create a column expression based on a qualified or unqualified column name. Will normalize unquoted identifiers according to SQL rules (identifiers will become lowercase).

For example:

let c1 = col("a");
let c2 = col("A");
assert_eq!(c1, c2);

// note how quoting with double quotes preserves the case
let c3 = col(r#""A""#);
assert_ne!(c1, c3);