-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix the bug that RowIndex column type cannot be serialized #11208
Conversation
This pull request was exported from Phabricator. Differential Revision: D64088125 |
✅ Deploy Preview for meta-velox canceled.
|
…ncubator#11208) Summary: I came across a bug when I tried to serialize a TableScanNode with special row index column. ### The isssue `folly::dynamic HiveColumnHandle::serialize()` uses `columnTypeNames` to serialize the TableScanNode. However, RowIndex is missing in `columnTypeNames`. serialize method would raise a std::out_of_range error because of this. ### The fix The fix is simple -- just add row index column to the map. Differential Revision: D64088125
2191513
to
ffd4ef5
Compare
This pull request was exported from Phabricator. Differential Revision: D64088125 |
…ncubator#11208) Summary: I came across a bug when I tried to serialize a TableScanNode with special row index column. ### The isssue `folly::dynamic HiveColumnHandle::serialize()` uses `columnTypeNames` to serialize the TableScanNode. However, RowIndex is missing in `columnTypeNames`. serialize method would raise a std::out_of_range error because of this. ### The fix The fix is simple -- just add row index column to the map. Reviewed By: Yuhta Differential Revision: D64088125
ffd4ef5
to
bc9fafb
Compare
This pull request was exported from Phabricator. Differential Revision: D64088125 |
This pull request has been merged in d5df0a7. |
Conbench analyzed the 1 benchmark run on commit There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
Summary:
I came across a bug when I tried to serialize a TableScanNode with special row index column.
The isssue
folly::dynamic HiveColumnHandle::serialize()
usescolumnTypeNames
to serialize the TableScanNode. However, RowIndex is missing incolumnTypeNames
. serialize method would raise a std::out_of_range error because of this.The fix
The fix is simple -- just add row index column to the map.
Differential Revision: D64088125