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

docs: Add README to tpch directory #79

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

andygrove
Copy link
Member

WIP

@andygrove andygrove marked this pull request as ready for review March 8, 2025 16:34
@andygrove
Copy link
Member Author

@robtandy This is now ready for review. I was able to run the benchmarks this morning based on these instructions.


```shell
ray job submit --address='http://localhost:8265' \
--runtime-env-json='{"pip":["datafusion", "tabulate", "boto3", "duckdb"], "py_modules":["/home/andy/git/apache/datafusion-ray/target/wheels/datafusion_ray-0.1.0-cp38-abi3-manylinux_2_35_x86_64.whl"], "working_dir":"./", "env_vars":{"RAY_DEDUP_LOGS":"O", "RAY_COLOR_PREFIX":"1"}}' -- \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The path to the .wheel here should perhaps be changed.

Also, tabulate, boto3, and duckdb are not required anymore I don't think.

ray job submit --address='http://localhost:8265' \
--runtime-env-json='{"pip":["datafusion", "tabulate", "boto3", "duckdb"], "py_modules":["/home/andy/git/apache/datafusion-ray/target/wheels/datafusion_ray-0.1.0-cp38-abi3-manylinux_2_35_x86_64.whl"], "working_dir":"./", "env_vars":{"RAY_DEDUP_LOGS":"O", "RAY_COLOR_PREFIX":"1"}}' -- \
python tpcbench.py \
--data /mnt/bigdata/tpch/sf100 \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want want to include the k8s resource definition for the ray-storage pvc as well?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see it is mentioned above that it is assumed. Ok

[contributor guide]: ../docs/contributing.md

```shell
maturin build --strip
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add a comment here reminding users to add --release for a release wheel build

@andygrove andygrove marked this pull request as draft March 11, 2025 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants