We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 705dd0e commit 2a2de82Copy full SHA for 2a2de82
datafusion/expr/src/expr_schema.rs
@@ -32,6 +32,7 @@ use datafusion_common::{
32
TableReference,
33
};
34
use datafusion_functions_window_common::field::WindowUDFFieldArgs;
35
+use recursive::recursive;
36
use std::collections::HashMap;
37
use std::sync::Arc;
38
@@ -99,6 +100,7 @@ impl ExprSchemable for Expr {
99
100
/// expression refers to a column that does not exist in the
101
/// schema, or when the expression is incorrectly typed
102
/// (e.g. `[utf8] + [bool]`).
103
+ #[recursive]
104
fn get_type(&self, schema: &dyn ExprSchema) -> Result<DataType> {
105
match self {
106
Expr::Alias(Alias { expr, name, .. }) => match &**expr {
0 commit comments