Skip to content
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

test filter push down #2003

Merged
merged 6 commits into from
Sep 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .github/workflows/gss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,29 @@ jobs:
cmake .. && make -j && sudo make install && \
rm -fr /tmp/cppkafka

- name: Build GraphScope Store
- name: Build GraphScope Store With Column Filter Push Down
run: |
source ${HOME}/.bashrc
export SCCACHE_DIR=~/.cache/sccache
export RUSTC_WRAPPER=/usr/local/bin/sccache
sccache --start-server
cd ${GITHUB_WORKSPACE}/interactive_engine
mvn clean install -P groot,groot-assembly -Drust.compile.mode=debug -DskipTests -Dgroot.compile.feature="maxgraph-ffi/column_filter_push_down" --quiet

sccache --show-stats

- name: Gremlin Tests with Column Filter Push Down
run: |
cd interactive_engine/groot-server
mvn test -P gremlin-test


- name: Build GraphScope Store
run: |
source ${HOME}/.bashrc
export SCCACHE_DIR=~/.cache/sccache
export RUSTC_WRAPPER=/usr/local/bin/sccache
cd ${GITHUB_WORKSPACE}/interactive_engine
mvn clean install -P groot,groot-assembly -Drust.compile.mode=debug -DskipTests --quiet

sccache --show-stats
Expand Down
3 changes: 3 additions & 0 deletions interactive_engine/executor/assembly/groot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ runtime_integration = { path = "../../ir/integrated" }
log = "0.3"
log4rs = "0.8.0"
tokio = { version = "1.0", features = ["macros", "sync"] }

[features]
column_filter_push_down = ["runtime_integration/column_filter_push_down"]
5 changes: 3 additions & 2 deletions interactive_engine/executor/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ set -x

MODE=$1
SKIP=$2
FEATURE=$3

if [ "$SKIP" = "true" ]; then
exit 0
Expand All @@ -18,9 +19,9 @@ fi

cd assembly;
if [ "$MODE" = "debug" ]; then
../exec.sh cargo build --workspace
../exec.sh cargo build --workspace --features="$FEATURE"
elif [ "$MODE" = "release" ]; then
../exec.sh cargo build --workspace --release
../exec.sh cargo build --workspace --release --features="$FEATURE"
else
exit 1
fi
Expand Down
Loading