Skip to content

Make FunctionMetadata test more robust. #26748

@aditi-pandit

Description

@aditi-pandit

FunctionMetadataTest https://github.com/prestodb/presto/blob/master/presto-native-execution/presto_cpp/main/functions/tests/FunctionMetadataTest.cpp fails when adding new function signatures.

Make the test more robust to signature addition by changing the logic in testFunction to ensure that the existing signatures remain and they have the fields expected in the json instead of testing specific values.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

🆕 Unprioritized

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions