Skip to content

Commit 56691e9

Browse files
mbasmanovameta-codesync[bot]
authored andcommitted
feat: Add coercion from DATE() to TIMESTAMP() (facebookincubator#769)
Summary: Pull Request resolved: facebookincubator#769 X-link: facebookincubator/velox#16068 Reviewed By: natashasehgal Differential Revision: D91044450 fbshipit-source-id: 29809f07204b45c9bfb77ef2ce71110e5a04cc58
1 parent b3a54b8 commit 56691e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

axiom/optimizer/tests/JoinTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ TEST_F(JoinTest, filterPushdownThroughCrossJoinUnnest) {
491491

492492
{
493493
auto query =
494-
"SELECT * FROM (VALUES row(row(1, 2))) as t(x), UNNEST(array[1,2,3]) WHERE x.c1 > 0";
494+
"SELECT * FROM (VALUES row(cast(row(1, 2) as row(c1 int, c2 int)))) as t(x), UNNEST(array[1,2,3]) WHERE x.c1 > 0";
495495

496496
auto logicalPlan = parseSelect(query, kTestConnectorId);
497497

0 commit comments

Comments
 (0)