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

make: *** No rule to make target `test_planner_q1.out'. Stop. #3

Open
qizhi-zhang opened this issue Sep 26, 2023 · 2 comments
Open

Comments

@qizhi-zhang
Copy link

Hi, I try to run the code like
image

But, i got the error like
image

Could you give me some hints about it please?

@mfaisal97
Copy link
Collaborator

mfaisal97 commented Oct 2, 2023

Hello,

Thank you so much for reaching out, we have updated the readme.

Our starting point is a file called planner.cpp.

You can compile and run as in the new readme file as follows after setting up the framework:

      cd build
      make planner
      mpirun -np 3 ./planner ../examples/queries/q1.txt ../examples/schemas/q1_schema.txt 128 128  // Will compile and run Q1 with 128 and 128 rows per input tables

You can check examples for more queries and schemas.

@qizhi-zhang
Copy link
Author

Thanks for your quick response. I tried
cd build make planner mpirun -np 3 ./planner ../examples/queries/q1.txt ../examples/schemas/q1_schema.txt 128 128 // Will compile and run Q1 with 128 and 128 rows per input tables

I see there are three running progresses "planner", but I find that there is not communication between progresses.
Does the executable file "planner" only generate the planner, but don't execute the plan?

If I wish execute a SQL like "select a.key, sum(b.value) from a join b on a.id=b.id", how can I do it?

Thanks you very much !

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

No branches or pull requests

2 participants