[native] Add RestFunctionHandle to presto_protocol serialization#25668
Conversation
aditi-pandit
left a comment
There was a problem hiding this comment.
Thanks @Joe-Abraham
|
From the unit tests log https://github.com/prestodb/presto/actions/runs/16667662629/job/47177046993?pr=25668 CC: @czentgr @ericyuliu |
|
@amitkdutta, The actual changes were made in #25519, and the Presto protocol wasn't updated in that PR. This issue isn't related to my changes. Just wanted to clarify! CC: @czentgr |
|
@amitkdutta Thanks. Yes, the test is built but the executable apparently not run based on the test output. Turns out there are 2 more tests that aren't run from the looks of it although they all come from the same path and are built. But ctest didn't run them for some reason. Need to investigate. Thanks for finding this out! |
## Description Fix broken unit test due to #25668 ## Motivation and Context Note: Google Test filter = PrestoToVeloxQueryPlanTest.parseIndexJoinNode [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from PrestoToVeloxQueryPlanTest [ RUN ] PrestoToVeloxQueryPlanTest.parseIndexJoinNode terminate called after throwing an instance of 'facebook::presto::protocol::OutOfRange' what(): [json.exception.out_of_range.403] key 'lookupVariables' not found IndexJoinNode List<VariableReferenceExpression> lookupVariables ## Impact No Impact. ## Release Notes Please follow [release notes guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines) and fill in the release notes below. ``` == NO RELEASE NOTE == ```
…5691) ## Description Fix broken unit test due to prestodb#25668 ## Motivation and Context Note: Google Test filter = PrestoToVeloxQueryPlanTest.parseIndexJoinNode [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from PrestoToVeloxQueryPlanTest [ RUN ] PrestoToVeloxQueryPlanTest.parseIndexJoinNode terminate called after throwing an instance of 'facebook::presto::protocol::OutOfRange' what(): [json.exception.out_of_range.403] key 'lookupVariables' not found IndexJoinNode List<VariableReferenceExpression> lookupVariables ## Impact No Impact. ## Release Notes Please follow [release notes guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines) and fill in the release notes below. ``` == NO RELEASE NOTE == ```
…5691) ## Description Fix broken unit test due to prestodb#25668 ## Motivation and Context Note: Google Test filter = PrestoToVeloxQueryPlanTest.parseIndexJoinNode [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from PrestoToVeloxQueryPlanTest [ RUN ] PrestoToVeloxQueryPlanTest.parseIndexJoinNode terminate called after throwing an instance of 'facebook::presto::protocol::OutOfRange' what(): [json.exception.out_of_range.403] key 'lookupVariables' not found IndexJoinNode List<VariableReferenceExpression> lookupVariables ## Impact No Impact. ## Release Notes Please follow [release notes guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines) and fill in the release notes below. ``` == NO RELEASE NOTE == ```
…5691) ## Description Fix broken unit test due to prestodb#25668 ## Motivation and Context Note: Google Test filter = PrestoToVeloxQueryPlanTest.parseIndexJoinNode [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from PrestoToVeloxQueryPlanTest [ RUN ] PrestoToVeloxQueryPlanTest.parseIndexJoinNode terminate called after throwing an instance of 'facebook::presto::protocol::OutOfRange' what(): [json.exception.out_of_range.403] key 'lookupVariables' not found IndexJoinNode List<VariableReferenceExpression> lookupVariables ## Impact No Impact. ## Release Notes Please follow [release notes guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines) and fill in the release notes below. ``` == NO RELEASE NOTE == ```
…5691) ## Description Fix broken unit test due to prestodb#25668 ## Motivation and Context Note: Google Test filter = PrestoToVeloxQueryPlanTest.parseIndexJoinNode [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from PrestoToVeloxQueryPlanTest [ RUN ] PrestoToVeloxQueryPlanTest.parseIndexJoinNode terminate called after throwing an instance of 'facebook::presto::protocol::OutOfRange' what(): [json.exception.out_of_range.403] key 'lookupVariables' not found IndexJoinNode List<VariableReferenceExpression> lookupVariables ## Impact No Impact. ## Release Notes Please follow [release notes guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines) and fill in the release notes below. ``` == NO RELEASE NOTE == ```
…5691) ## Description Fix broken unit test due to prestodb#25668 ## Motivation and Context Note: Google Test filter = PrestoToVeloxQueryPlanTest.parseIndexJoinNode [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from PrestoToVeloxQueryPlanTest [ RUN ] PrestoToVeloxQueryPlanTest.parseIndexJoinNode terminate called after throwing an instance of 'facebook::presto::protocol::OutOfRange' what(): [json.exception.out_of_range.403] key 'lookupVariables' not found IndexJoinNode List<VariableReferenceExpression> lookupVariables ## Impact No Impact. ## Release Notes Please follow [release notes guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines) and fill in the release notes below. ``` == NO RELEASE NOTE == ```
…5691) ## Description Fix broken unit test due to prestodb#25668 ## Motivation and Context Note: Google Test filter = PrestoToVeloxQueryPlanTest.parseIndexJoinNode [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from PrestoToVeloxQueryPlanTest [ RUN ] PrestoToVeloxQueryPlanTest.parseIndexJoinNode terminate called after throwing an instance of 'facebook::presto::protocol::OutOfRange' what(): [json.exception.out_of_range.403] key 'lookupVariables' not found IndexJoinNode List<VariableReferenceExpression> lookupVariables ## Impact No Impact. ## Release Notes Please follow [release notes guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines) and fill in the release notes below. ``` == NO RELEASE NOTE == ```
…5691) ## Description Fix broken unit test due to prestodb#25668 ## Motivation and Context Note: Google Test filter = PrestoToVeloxQueryPlanTest.parseIndexJoinNode [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from PrestoToVeloxQueryPlanTest [ RUN ] PrestoToVeloxQueryPlanTest.parseIndexJoinNode terminate called after throwing an instance of 'facebook::presto::protocol::OutOfRange' what(): [json.exception.out_of_range.403] key 'lookupVariables' not found IndexJoinNode List<VariableReferenceExpression> lookupVariables ## Impact No Impact. ## Release Notes Please follow [release notes guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines) and fill in the release notes below. ``` == NO RELEASE NOTE == ```
…5691) ## Description Fix broken unit test due to prestodb#25668 ## Motivation and Context Note: Google Test filter = PrestoToVeloxQueryPlanTest.parseIndexJoinNode [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from PrestoToVeloxQueryPlanTest [ RUN ] PrestoToVeloxQueryPlanTest.parseIndexJoinNode terminate called after throwing an instance of 'facebook::presto::protocol::OutOfRange' what(): [json.exception.out_of_range.403] key 'lookupVariables' not found IndexJoinNode List<VariableReferenceExpression> lookupVariables ## Impact No Impact. ## Release Notes Please follow [release notes guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines) and fill in the release notes below. ``` == NO RELEASE NOTE == ```
Description
Add serialization support for RestFunctionHandle to the Presto native execution protocol.
Motivation and Context
Enables REST-based function calls to be properly serialized and deserialized in the C++ native execution engine.
Impact
No Impact.
Test Plan
NA
Contributor checklist
Release Notes
Please follow release notes guidelines and fill in the release notes below.