Skip to content

Commit 90fe610

Browse files
pramodsatyaaditi-pandit
authored andcommitted
[native] Update metadata for function combinations in FunctionMetadataTest
1 parent 7e6691d commit 90fe610

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ TEST_F(FunctionMetadataTest, arrayFrequency) {
6969
}
7070

7171
TEST_F(FunctionMetadataTest, combinations) {
72-
testFunction("combinations", "Combinations.json", 10);
72+
testFunction("combinations", "Combinations.json", 11);
7373
}
7474

7575
TEST_F(FunctionMetadataTest, covarSamp) {

presto-native-execution/presto_cpp/main/types/tests/data/Combinations.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
{
22
"combinations": [
3+
{
4+
"docString": "presto.default.combinations",
5+
"functionKind": "SCALAR",
6+
"outputType": "array(array(__user_T1))",
7+
"paramTypes": [
8+
"array(__user_T1)",
9+
"integer"
10+
],
11+
"routineCharacteristics": {
12+
"determinism": "DETERMINISTIC",
13+
"language": "CPP",
14+
"nullCallClause": "RETURNS_NULL_ON_NULL_INPUT"
15+
},
16+
"schema": "default"
17+
},
318
{
419
"docString": "presto.default.combinations",
520
"functionKind": "SCALAR",

0 commit comments

Comments
 (0)