Skip to content

Commit 8485839

Browse files
kevinwilfongxiaoxmeng
authored andcommitted
[native] Fix custom type headers in unit tests
1 parent 841932c commit 8485839

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

presto-native-execution/presto_cpp/main/types/tests/PrestoToVeloxQueryPlanTest.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,17 @@
1515

1616
#include "presto_cpp/main/types/PrestoToVeloxQueryPlan.h"
1717
#include "velox/common/base/tests/GTestUtils.h"
18+
#include "velox/functions/prestosql/types/HyperLogLogRegistration.h"
1819
#include "velox/functions/prestosql/types/HyperLogLogType.h"
20+
#include "velox/functions/prestosql/types/IPAddressRegistration.h"
1921
#include "velox/functions/prestosql/types/IPAddressType.h"
22+
#include "velox/functions/prestosql/types/IPPrefixRegistration.h"
2023
#include "velox/functions/prestosql/types/IPPrefixType.h"
24+
#include "velox/functions/prestosql/types/JsonRegistration.h"
2125
#include "velox/functions/prestosql/types/JsonType.h"
26+
#include "velox/functions/prestosql/types/TimestampWithTimeZoneRegistration.h"
2227
#include "velox/functions/prestosql/types/TimestampWithTimeZoneType.h"
28+
#include "velox/functions/prestosql/types/UuidRegistration.h"
2329
#include "velox/functions/prestosql/types/UuidType.h"
2430

2531
using namespace facebook::presto;

presto-native-execution/presto_cpp/main/types/tests/RowExpressionTest.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include "presto_cpp/presto_protocol/core/presto_protocol_core.h"
1919
#include "velox/core/Expressions.h"
2020
#include "velox/type/Type.h"
21-
#include "velox/functions/prestosql/types/JsonType.h"
21+
#include "velox/functions/prestosql/types/JsonRegistration.h"
2222

2323
using namespace facebook::presto;
2424
using namespace facebook::velox;

0 commit comments

Comments
 (0)