Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introducing IR query service (#1407)
* [Gaia/IR] Fix compiling error due to updating Sink pb * [Gaia/IR] Fix compiling error due to updating Sink pb * [Runtime UT] update path_expand ut according to new sink pb * [IR Runtime] fix apply ut due to updating Sink pb * support by empty * refine interface IrCustomizedTraversalSource * [IR Runtime] set Head as None after project multiple columns * [IR Runtime] Do not sink column if corresponding entry is None * [IR Runtime] add more path_expand uts * minor refine * [IR Core] update union pb * [IR Core] upadte union in ffi * add union * [Runtime UT] add shuffle op in physical plans in integration tests * add union ci test * [Runtime UT] add worker_num = 2 for some test cases in integration * [Gaia/IR] Update Makefile. * [IR Runtime] update EntryAccumulator, and impl Encode/Decode for it * [IR Runtime] rename get_entry() and get_arc_entry() in TagKey * [Gaia/IR] Update ldbc schema file for exp store. * update union * minor: rename * update union * fix union sink * add result parser of path expand * fix minor * [IR Runtime] use Count<()> in RecordAccumulator * add support to range(0, 1) in gremlin * restrict global id with integer type only in antlr * fix antlr parser of integerLiteralList && add ci tests * [Gaia/IR] Fix union one branch * [Gaia/IR] Fix compiling issue. * [Gaia/IR] Fix an error of missing tag for group-by alias. * [IR Runtime] Support Max, Min, ToSet in Group * [Gaia/IR] Remove useless print. * [IR Runtime] Support Count_Distinct in Group * preserve order of group entries when parsing results && add fusion strategy of scan * [Gaia/IR] Add Property::Length Key * [Gaia/IR] Add partition test for subtask * fix variable of path expand length * [Gaia/IR] Fix missing shuffle issue in subtask. * fix optimization of scan fusion * [Gaia/IR] Add support of multiple current nodes for union. * [Gaia/IR] Add support of multiple current nodes for union. * [Gaia/IR] Add support of multiple current nodes for union. * [Gaia/IR] Add test cases for union operator. * [Gaia/IR] Refine codes. * [Runtime Ut] add more uts for accumulator * [IR Runtime] add extra_params in QueryParam * [Graph Adapter] adapt to graphscope storage * [Graph Adapter] remove ID_MASK * [IR EXECUTOR] try to start ir executor on vineyard * [Graph Adapter] throw query_store_error in graph adapter * [Gaia/IR] Move `len()` from `GraphElement` to `Element`. * [Gaia/IR] Supporting getting all properties via a special "~all" key. * [Gaia/IR] All test cases for evaluating getting all properties. * [IR Proto] add is_all_columns flag in QueryParams for getting all properties * [IR Runtime] support get all props in QueryParams * [IR Runtime] refine get all props in QueryParams * [Gaia/IR] Fix compiling issues while adding is_all_columns in pb::QueryParams. * [IR Runtime] renmae properties as columns in QueryParams * [Runtime UT] add ut for valueMap() * minor: code refine * [Gaia/IR] Refine Match operator * minor: code refine * fix a bug in accumulator ut * [Gaia/IR] Add QueryParams for GetV. * [Gaia/IR] Minor refine. * [Gaia/IR] Minor refine. * [Gaia/IR] Fix some typos. * [IR Proto] update ExtraParams in proto, runtime and graph_adapter * [Gaia/IR] Redefine QueryParams to use a map instead of a vector for the extra parameters. * [Gaia/IR] Simplify the definition of QueryParams in test cases. * [Gaia/IR] Refine the error returning message. * minor refine * minor refine * [Gaia/IR] Add Patmat proposal * [Gaia/IR] Refine codes to fix building errors. * minor refine * [Gaia/IR] Fix id-mappings while transforming LogicalPlan and pb::LogicalPlan * [Graph Adapter] remove schema accessing in Runtime * update op tests with the changes of ir core * add newline at the end of file * support more patterns of subtask * fix valueMap().as(a) * add ldbc test * initialize configs from system property * return empty if id not exist in test properties * add comments * add comments * update ldbc 6 * update test * [IR Runtime] do not throw error when # of subtask results > 1 * [IR Runtime] process None obj in TagKey to make it identical to eval() * fix minor * refine makefile * [Gaia/Engine]: Add -l limit_one configuration for amsk and spmsk benchmarking tools. * [Bug Fix] sink CommonObject::None as a None object * [Gaia/IR] Implementing building logical plan for a `Pattern` operator. * [Gaia/IR] Refine codes and add test cases for sentence composition/join. * [Gaia/IR] Add test cases for building logical plan for pattern matching * set graph.schema from conf file if conmmand line not exist * add alias manager and update tests * add select(keys/values) && update ldbc test * [Gaia/IR] Add test cases for building logical plan for pattern matching * [Gaia/IR] Prevent pb::Patten to reference existing tags. * [Gaia/IR] Refine codes. * refine codes according to code reviews * refine interface of judging whether a sub_traversal can be converted to expression * add select(keys/values) && select(keys/values).values/valueMap(..) as expression * refine codes according to code reviews * [Gaia/IR] Make pattern matching runnable at runtime * rename ExprRes as ExprResult * [Gaia/IR] Add Ffi functions for the compiler to call constructing a `Pattern` operator. * [GAIA/engine] fix bug in any operator caused by notify_end * degrade tinkerpop version to 3.4.12 && update gremlin tests * refine interface of ir compiler to be compatible with groot & vineyard * adapt ir compiler to groot store * adapt ir compiler to vineyard store * [Graph Adapter] try to start ir executor on v2 * [Gaia/IR] Merge new gaia-x * [Gaia/IR] Fix a bug of throwing error in case of referring to a non-exist tag. * [Benchmark] init benchmark * [IR Benchmark] add ir_queries in benchmark * [IR Benchmark] ignore subquery for test * [IR Benchmark] add LDBC_3 & LDBC_4 in benchmark * [IR Benchmark] update query plans with select(keys), select(values) etc. * [IR Benchmark] move benchmark to query_service/benchmark * [IR Benchmark] move ldbc queries for ir or gaiax under benchmark/queries * support where().by(subtask) * revert changes to ir.compiler.properties * [Gaia/IR] Change `is_anti` to `JoinKind` in pb::patttern::Sentence. * [Gaia/IR] Refine protobuf data field. * add match step && related ci tests * update match according to changes with ir_core * [Gaia/IR] Fix a bug of throwing TagNotExist while referring to a tag that is neither a vertex/edge. * tmp commit: replace gaia executor with ir executor, for e2e test * [Graph Adapter] rename ffi for ir executor * [Graph Adapter] set si as default value if get si failed * update tests according to changes with ir_core * [Graph Adapter] rename ffi for ir executor * [Gaia/IR] Prepare parsing tag from string to id. * add expr step * add copyrights * [Gaia/IR] Set tag id for pb::Sink * [Gaia/IR] Set tag id for pb::Dedup * update according to changes with return code of ir core * update * update * Ir return code (#131) * [Gaia/IR] Return FfiResult that includes both ResultCode and error message in Ffi functions. * [Gaia/IR] Return FfiData instead of FfiJobBuffer for build_physical_plan to include error message from building logical/physical plan * [Gaia/IR] Fix bug of returning error message in Ffi functions. * [Gaia/IR] Fix bug of returning error message in Ffi functions. * [Gaia/IR] Fix bug of returning error message in Ffi functions. * [Gaia/IR] Fix bug of returning error message in Ffi functions. * [Gaia/IR] Fix bug of returning error message in Ffi functions. * [Gaia/IR] Add `destory_ffi_error()` * [Gaia/IR] Add [no_mangle] for `destory_ffi_error()` Co-authored-by: longbin.lailb <longbin.lailb@alibaba-inc.com> * add enV() step * [Gaia/IR] Fix a bug of converting a c string to Rust string without checking it to be `NULL`. * [Gaia/IR] Fix bugs of pattern matching. * [Gaia/IR] Fix bugs of pattern matching. * [Gaia/IR] Fix bugs of pattern matching. * [Gaia/IR] Refine codes. * refine interface of ir compiler to be compatible with gs * fix bugs of ir-groot adaptor * fix bugs of ir-vineyard adaptor * add ir_core lib to distribution target * [Gaia/IR] Try to reverse sentence if possible. * remove servers in job conf from compiler * [Gaia/IR] Try to reverse sentence if possible. * set servers in job conf * [GraphAdapter] Start IR Service when given GAIA option to ensure e2e test * fix bugs of gremlin parser when column key is NameOrId::ID * add ir core lib in docker build phase * revert BASE_VERSION in graphscope-store.Dockerfile * revert changes of degrading tinkerpop * [GraphAdapter] remove dependency of gaia gremlin-runtime in graphscope for groot and vineyard * add copyrights && refine codes * [Pegasus Server/Client] add server-v0 and client back * add executor copy in k8s and Makefile * merge ir compiler to main * update versions of grpc & protobuf in pegasus java client * set is_column_id as false for exp store * add back executor of ir on graphscope store * add pegasus-client module to interactive_engine * [Gaia/IR] Unify setting query parameters for GetV/EdgeExpand/PathExpand/Scan * update compiler codes * [Gaia/IR] Fix a bug. * [Gaia/IR] Refine codes * [BugFix] set is_column_id as false in ldbc schema for exp store * format java codes of ir compiler * minor: add some copyright * minor: code refactor * minor: code refactor * fix errors of code refactor * rm useless file * format java codes * minor: remove useless file * add ci tests for ir on experimental & groot store * fix errors of code refactor * add shell of ci tests * update gaia ci env to vineyard:v0.3.21 * update ci flags of gaia * update gaia ci process Co-authored-by: longbin.lailb <longbin.lailb@alibaba-inc.com> Co-authored-by: shirly121 <zxlmillie@163.com> Co-authored-by: Longbin Lai <longbin.lai@gmail.com> Co-authored-by: Neng Li <lnfjpt@gmail.com>
- Loading branch information