-
Notifications
You must be signed in to change notification settings - Fork 448
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(interactive): Align Data Type in GIE Physical Pb with Flex (#4367)
<!-- Thanks for your contribution! please review https://github.com/alibaba/GraphScope/blob/main/CONTRIBUTING.md before opening an issue. --> ## What do these changes do? 1. support flex type system in GIE physical [proto](https://github.com/shirly121/GraphScope/blob/ir_align_type/interactive_engine/executor/ir/proto/basic_type.proto). 2. support type conversion among different type systems, we have 3 type systems currently: a. Groot: defined in [proto](https://github.com/shirly121/GraphScope/blob/ir_align_type/proto/schema_common.proto) b. Flex: defined in [proto](https://github.com/shirly121/GraphScope/blob/ir_align_type/interactive_engine/executor/ir/proto/basic_type.proto) c. Calcite, defined in [java](https://github.com/shirly121/GraphScope/blob/ir_align_type/interactive_engine/compiler/src/main/java/com/alibaba/graphscope/common/ir/type/GraphTypeFactoryImpl.java) The Calcite type system serves as the foundation for type inference in the compiler. Consequently, any other type system (e.g., Groot or Flex) must be convertible to Calcite. The [IrDataTypeConvertor](https://github.com/alibaba/GraphScope/pull/4367/files#diff-6844283ba782602bd37d9f17f56646af7188f4ba849abc5ac8d1f404ce122e22) plays a key role in this process. It defines the bidirectional type conversions between Calcite and the other two type systems. <!-- Please give a short brief about these changes. --> ## Related issue number <!-- Are there any issues opened that will be resolved by merging this change? --> Fixes #4362 --------- Co-authored-by: BingqingLyu <[email protected]> Co-authored-by: xiaolei.zl <[email protected]>
- Loading branch information
1 parent
bbc7786
commit 3b0e2f7
Showing
115 changed files
with
3,936 additions
and
3,888 deletions.
There are no files selected for viewing
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
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
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
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.