Skip to content

Commit

Permalink
fix check and update function
Browse files Browse the repository at this point in the history
  • Loading branch information
goldmedal committed Aug 10, 2024
1 parent 38dc403 commit d95ad74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datafusion/expr/src/logical_plan/plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2937,7 +2937,7 @@ mod tests {
use super::*;
use crate::builder::LogicalTableSource;
use crate::logical_plan::table_scan;
use crate::{col, exists, in_subquery, lit, placeholder, wildcard, GroupingSet};
use crate::{col, exists, in_subquery, lit, placeholder, GroupingSet};

use datafusion_common::tree_node::{TransformedResult, TreeNodeVisitor};
use datafusion_common::{not_impl_err, Constraint, ScalarValue};
Expand Down
2 changes: 1 addition & 1 deletion datafusion/optimizer/src/analyzer/expand_wildcard_rule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ fn to_unique_names<'a>(
.into_iter()
.enumerate()
.try_for_each(|(position, expr)| {
let name = expr.display_name()?;
let name = expr.schema_name()?;
if let Entry::Vacant(e) = unique_names.entry(name) {
e.insert((position, expr));
unique_expr.push(expr.to_owned());
Expand Down

0 comments on commit d95ad74

Please sign in to comment.