Skip to content

Commit 5138386

Browse files
committed
fix compiles
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
1 parent b749d0d commit 5138386

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

datafusion/sql/src/expr/function.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ impl FunctionArgs {
120120
null_treatment,
121121
distinct: false,
122122
within_group,
123-
function_without_parenthesis: matches!(args, FunctionArguments::None),
123+
function_without_parentheses: matches!(args, FunctionArguments::None),
124124
});
125125
};
126126

@@ -202,7 +202,7 @@ impl FunctionArgs {
202202
null_treatment,
203203
distinct,
204204
within_group,
205-
function_without_parenthesis: false,
205+
function_without_parentheses: false,
206206
})
207207
}
208208
}
@@ -224,7 +224,7 @@ impl<S: ContextProvider> SqlToRel<'_, S> {
224224
null_treatment,
225225
distinct,
226226
within_group,
227-
function_without_parenthesis,
227+
function_without_parentheses,
228228
} = function_args;
229229

230230
if over.is_some() && !within_group.is_empty() {
@@ -477,7 +477,7 @@ impl<S: ContextProvider> SqlToRel<'_, S> {
477477
}
478478

479479
// workaround for https://github.com/apache/datafusion-sqlparser-rs/issues/1909
480-
if function_without_parenthesis {
480+
if function_without_parentheses {
481481
let maybe_ids = object_name
482482
.0
483483
.iter()

0 commit comments

Comments
 (0)