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 57004f1 commit 93103a4Copy full SHA for 93103a4
datafusion-postgres/src/sql/rules.rs
@@ -787,7 +787,7 @@ impl VisitorMut for FixVersionColumnNameVisitor {
787
if let ObjectNamePart::Identifier(part) = &f.name.0[0] {
788
if part.value == "version" {
789
if let FunctionArguments::List(args) = &f.args {
790
- if args.args.len() == 0 {
+ if args.args.is_empty() {
791
*projection = SelectItem::ExprWithAlias {
792
expr: Expr::Function(f.clone()),
793
alias: Ident::new("version"),
0 commit comments