Change the final output result of struct from list to map#5227
Change the final output result of struct from list to map#5227yuancu merged 2 commits intoopensearch-project:mainfrom
Conversation
Signed-off-by: Heng Qian <qianheng@amazon.com>
PR Reviewer Guide 🔍(Review updated until commit 48642c0)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 48642c0
Previous suggestionsSuggestions up to commit 7b6d33c
|
Signed-off-by: Heng Qian <qianheng@amazon.com>
|
Persistent review updated to latest commit 48642c0 |
Description
This PR changes the final output format of RelRecordType from a list to a map (keyed by column name) to prevent the loss of column name information in query results.
In PPL, this RelDataType is only used by graphlookup operator.
Before this PR, graphlookup like:
will get response:
With this PR, it gets changed to:
Related Issues
Resolves #5225
Check List
--signoffor-s.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.