Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix doc
  • Loading branch information
xinlifoobar committed Jun 11, 2024
commit bc7345b4a78565c2bc5d877a0b4f72b452b85918
8 changes: 4 additions & 4 deletions docs/source/user-guide/cli/datasources.md
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ STORED AS parquet
LOCATION "hf://datasets/cais/mmlu/astronomy/";
```
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is currently not working due to:

  1. The hugging face user access token is case-sensitive.
  2. a previous change enforces every option value in lower case. https://github.com/apache/datafusion/pull/9723/files.

I will figure out the history to see whether this will be feasible.


or
or

```bash
$ export HF_USER_ACCESS_TOKEN=******
Expand All @@ -400,7 +400,7 @@ LOCATION "hf://datasets/cais/mmlu/astronomy/";

Supported configuration options are:

| Environment Variable | Configuration Option | Description |
| -------------------- | -------------------- | ----------- |
| `HF_ENDPOINT` | `hf.endpoint` | Hugging Face endpoint |
| Environment Variable | Configuration Option | Description |
| ---------------------- | ---------------------- | ------------------------------ |
| `HF_ENDPOINT` | `hf.endpoint` | Hugging Face endpoint |
| `HF_USER_ACCESS_TOKEN` | `hf.user_access_token` | Hugging Face user access token |