-
Notifications
You must be signed in to change notification settings - Fork 447
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(interactive): Fix Result Parsing Mismatch Errors of
Map
Structu…
…re (#4006) For the `map` structure, there is inconsistency between the type maintenance on the compiler side and the implementation on the runtime side. Specifically, the compiler maintains the types of entries in the map according to the order specified by the user, while the runtime uses a `TreeMap` to maintain entries based on the internal order of keys. This inconsistency has caused parsing issues for `map` results by the compiler. To address this issue, this PR primarily focuses on the following two aspects: 1. specifying the columns to be output and their order concretely in the `sink` operator to ensure columns are output in the order specified by the user; 2. maintaining specific mappings from keys to types in the `map` type, see [here](https://github.com/alibaba/GraphScope/pull/4006/files#diff-49e26198c19ddbe7e665b8d5a66ceced8b8d02916e07def597fd4a7cdfffeffa). During result parsing, this ensures that the type corresponding to the returned key is found in this map, thereby ensuring consistency. Co-authored-by: Longbin Lai <[email protected]>
- Loading branch information
1 parent
4e85eb5
commit 4955291
Showing
11 changed files
with
239 additions
and
301 deletions.
There are no files selected for viewing
143 changes: 0 additions & 143 deletions
143
..._engine/compiler/src/main/java/com/alibaba/graphscope/common/ir/meta/procedure/Utils.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.