Skip to content

Commit d11165b

Browse files
committed
Simplify GetExpressionType
1 parent 17e23f0 commit d11165b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/storage/ducklake_metadata_manager.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1524,13 +1524,10 @@ string GetExpressionType(ParsedExpression &expression) {
15241524
}
15251525
return "expression";
15261526
}
1527-
case ExpressionType::FUNCTION:
1528-
case ExpressionType::COLUMN_REF:
1529-
return "expression";
15301527
case ExpressionType::VALUE_CONSTANT:
15311528
return "literal";
15321529
default:
1533-
throw NotImplementedException("Expression type not implemented for default column value");
1530+
return "expression";
15341531
}
15351532
}
15361533

0 commit comments

Comments
 (0)