Skip to content

Commit 2f990fe

Browse files
committed
chore: fmt
Signed-off-by: Ion Koutsouris <[email protected]>
1 parent 1c648b8 commit 2f990fe

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

crates/core/src/delta_datafusion/expr.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -333,10 +333,7 @@ impl Display for BinaryExprFormat<'_> {
333333
impl Display for SqlFormat<'_> {
334334
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
335335
match self.expr {
336-
Expr::Column(c) => {
337-
let c = c.quoted_flat_name();
338-
write!(f, "{c}")
339-
}
336+
Expr::Column(c) => write!(f, "{}", c.quoted_flat_name()),
340337
Expr::Literal(v) => write!(f, "{}", ScalarValueFormat { scalar: v }),
341338
Expr::Case(case) => {
342339
write!(f, "CASE ")?;

crates/core/src/delta_datafusion/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1601,7 +1601,8 @@ impl DeltaDataChecker {
16011601
for check in checks {
16021602
if check.get_name().contains('.') {
16031603
return Err(DeltaTableError::Generic(
1604-
"Support for nested columns is not supported.".to_string(),
1604+
"delta constraints for nested columns are not supported at the moment."
1605+
.to_string(),
16051606
));
16061607
}
16071608

0 commit comments

Comments
 (0)