Skip to content

docs: Add instruction to build#14694

Merged
comphead merged 4 commits intoapache:mainfrom
dentiny:hjiang/instruction-to-build
Feb 23, 2025
Merged

docs: Add instruction to build#14694
comphead merged 4 commits intoapache:mainfrom
dentiny:hjiang/instruction-to-build

Conversation

@dentiny
Copy link
Contributor

@dentiny dentiny commented Feb 16, 2025

Which issue does this PR close?

Rationale for this change

Add better instruction for new-comers to build the project.

Are these changes tested?

I manually verified the build steps work on my end.

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Feb 16, 2025
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you so much @dentiny -- this is much apreciated

It seems like we have most of this content already -- see https://datafusion.apache.org/contributor-guide/getting_started.html but clearly it isn't easy enough to find

I have some other thought on making this easier to find. What do you think?

  1. Rename the "Getting Started" page to "Development Environment" or something like that
  2. Add a link to that page at the top of the introduciton page: https://datafusion.apache.org/contributor-guide/index.html

Thanks again for helping make the docs better

Pull requests will be marked with a `stale` label after 60 days of inactivity and then closed 7 days after that.
Commenting on the PR will remove the `stale` label.

## Building
Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you @dentiny -- I think most of this information is already present in this page:

https://datafusion.apache.org/contributor-guide/getting_started.html

Would you be willing to combine your contribution with the existing information there?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think most of this information is already present in this page:

Ohhhh my bad! I didn't find it's the subpage for contributing page...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I removed instructions for build, they're already included in the existing dev env doc;
Keep some sentence for setting dev container for easier operation.

@alamb alamb mentioned this pull request Feb 16, 2025
@dentiny dentiny force-pushed the hjiang/instruction-to-build branch from 71b9bd6 to b35ef7c Compare February 17, 2025 06:55
@dentiny dentiny force-pushed the hjiang/instruction-to-build branch from b35ef7c to 3072000 Compare February 17, 2025 07:02
@dentiny
Copy link
Contributor Author

dentiny commented Feb 17, 2025

I have some other thought on making this easier to find. What do you think?

Both sounds good to me!

@dentiny dentiny requested a review from alamb February 17, 2025 07:09
DataFusion is not a requirement by any means but is available for those where doing local development could be tricky
such as with Windows and WSL2, those with older hardware, etc.

To open the project in vscode you will need the [Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers). For codespaces you will need to [create a new codespace](https://github.com/apache/datafusion).
Copy link
Contributor

Choose a reason for hiding this comment

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

thanks @dentiny for your contribution

Couple of notes

  • referring to VSCode probably can be misleading as not all engineers using it.
  • Not sure why dev containers are needed for the development

Copy link
Contributor Author

Choose a reason for hiding this comment

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

referring to VSCode probably can be misleading as not all engineers using it.

Ok, I will remove. Add it because vscode is pretty popular.

Not sure why dev containers are needed for the development

Devcontainer is a easy-setup datafusion provides, otherwise you need to manually prepare a clean environment.

@dentiny dentiny requested a review from comphead February 23, 2025 02:40
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thanks @dentiny -- this is a nice improvement in my mind ❤️

Copy link
Contributor

@comphead comphead left a comment

Choose a reason for hiding this comment

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

thanks @dentiny

@comphead comphead merged commit c92982c into apache:main Feb 23, 2025
5 checks passed
ozankabak pushed a commit to synnada-ai/datafusion-upstream that referenced this pull request Feb 25, 2025
* Add instruction to build

* format readme doc and rename getting started

* Add instruction for devcontainer

* remove dev container and vscode part
@alamb
Copy link
Contributor

alamb commented Feb 26, 2025

I think we forgot to update the index name too:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: documentation on project build instructions

4 participants