Skip to content

Commit

Permalink
Add support for another repo to take reference from.
Browse files Browse the repository at this point in the history
  • Loading branch information
kgpai committed Jan 10, 2024
1 parent db5aa54 commit f89d315
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/experimental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: aggregation
path: velox/_build/debug/velox/exec/tests/velox_aggregation_fuzzer_test
path: velox/_build/debug/velox/functions/prestosql/fuzzer/velox_aggregation_fuzzer_test

- name: Upload spark fuzzer
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -116,8 +116,9 @@ jobs:
name: aggregation

- name: "Start Presto Java"
- run: |
- /opt/start-prestojava.sh
run: |
/opt/start-prestojava.sh \
- name: "Run Aggregate Fuzzer"
run: |
Expand All @@ -134,6 +135,7 @@ jobs:
--enable_sorted_aggregations=true \
--presto_url=http://127.0.0.1:8080 \
&& echo -e "\n\nAggregation fuzzer run finished successfully."
- name: Archive aggregate production artifacts
if: always()
uses: actions/upload-artifact@v3
Expand Down
6 changes: 5 additions & 1 deletion scripts/start-prestojava.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@

set -e

$PRESTO_HOME/bin/launcher run
$PRESTO_HOME/bin/launcher --pid-file=/tmp/pidfile run > /tmp/server.log 2>&1 &
#wait a few seconds for presto to start
sleep 60
echo 'CREATE SCHEMA hive.tpch;' > /tmp/hive_create.sql
/opt/presto-cli --server 127.0.0.1:8080 --file /tmp/hive_create.sql

0 comments on commit f89d315

Please sign in to comment.