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

Prepare for 11.0.0 release #3171

Merged
merged 6 commits into from Aug 16, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 1 addition & 8 deletions docs/source/index.rst
Expand Up @@ -22,14 +22,6 @@ Apache Arrow DataFusion
Table of Contents
=================

.. _toc.usage:

.. toctree::
:maxdepth: 1
:caption: Supported Environments

Rust <https://docs.rs/crate/datafusion/>
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the very first link on the page and takes the user to a completely different web site. I moved it down into the user guide.


.. _toc.guide:

.. toctree::
Expand All @@ -45,6 +37,7 @@ Table of Contents
user-guide/sql/index
user-guide/configs
user-guide/faq
Rust Crate Documentation <https://docs.rs/crate/datafusion/>

.. _toc.contributor-guide:

Expand Down
2 changes: 1 addition & 1 deletion docs/source/user-guide/cli.md
Expand Up @@ -79,7 +79,7 @@ this to work.

```bash
git clone https://github.com/apache/arrow-datafusion
git checkout 8.0.0
git checkout 11.0.0
cd arrow-datafusion
docker build -f datafusion-cli/Dockerfile . --tag datafusion-cli
docker run -it -v $(your_data_location):/data datafusion-cli
Expand Down
2 changes: 1 addition & 1 deletion docs/source/user-guide/example-usage.md
Expand Up @@ -24,7 +24,7 @@
Add the following to your `Cargo.toml` file:

```toml
datafusion = "8.0.0"
datafusion = "11.0"
tokio = "1.0"
```

Expand Down
4 changes: 2 additions & 2 deletions docs/source/user-guide/library.md
Expand Up @@ -44,7 +44,7 @@ To get started, add the following to your `Cargo.toml` file:

```toml
[dependencies]
datafusion = "8.0.0"
datafusion = "11.0"
```

## Create a main function
Expand Down Expand Up @@ -76,7 +76,7 @@ worth noting that using the settings in the `[profile.release]` section will sig

```toml
[dependencies]
datafusion = { version = "7.0" , features = ["simd"]}
datafusion = { version = "11.0" , features = ["simd"]}
tokio = { version = "^1.0", features = ["rt-multi-thread"] }
snmalloc-rs = "0.2"

Expand Down
14 changes: 11 additions & 3 deletions docs/source/user-guide/sql/ddl.md
Expand Up @@ -30,9 +30,17 @@ STORED AS PARQUET
LOCATION '/mnt/nyctaxi/tripdata.parquet';
```

CSV data sources can also be registered by executing a `CREATE EXTERNAL TABLE` SQL statement. It is necessary to
provide schema information for CSV files since DataFusion does not automatically infer the schema when using SQL
to query CSV files.
CSV data sources can also be registered by executing a `CREATE EXTERNAL TABLE` SQL statement. The schema will be
inferred based on scanning a subset of the file.

```sql
CREATE EXTERNAL TABLE test
STORED AS CSV
WITH HEADER ROW
LOCATION '/path/to/aggregate_test_100.csv';
andygrove marked this conversation as resolved.
Show resolved Hide resolved
```

It is also possible to specify the schema manually.

```sql
CREATE EXTERNAL TABLE test (
Expand Down