Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit 7446a64

Browse files
committed
Parser: Add handling of type casts in expressions
1 parent 39fa518 commit 7446a64

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/parser/postgresparser.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,10 @@ expression::AbstractExpression *PostgresParser::ExprTransform(Node *node) {
666666
expr = NullTestTransform(reinterpret_cast<NullTest *>(node));
667667
break;
668668
}
669+
case T_TypeCast: {
670+
expr = TypeCastTransform(reinterpret_cast<TypeCast *>(node));
671+
break;
672+
}
669673
default: {
670674
throw NotImplementedException(StringUtil::Format(
671675
"Expr of type %d not supported yet...\n", node->type));

0 commit comments

Comments
 (0)