From 6c52022895629c728504ed56be0379a08f5df27f Mon Sep 17 00:00:00 2001 From: Nic Crane Date: Wed, 26 Nov 2025 10:48:28 +0000 Subject: [PATCH 1/6] Update R vignettes to refer to new bucket, and remove references to VD blogs --- r/vignettes/arrow.Rmd | 2 +- r/vignettes/dataset.Rmd | 4 ++-- r/vignettes/fs.Rmd | 24 ++++++++++++------------ r/vignettes/python.Rmd | 2 +- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/r/vignettes/arrow.Rmd b/r/vignettes/arrow.Rmd index be31f3a0ac68..d8460415bdd5 100644 --- a/r/vignettes/arrow.Rmd +++ b/r/vignettes/arrow.Rmd @@ -178,7 +178,7 @@ To learn more about analyzing Arrow data, see the [data wrangling article](./dat Another use for the arrow R package is to read, write, and analyze data sets stored remotely on cloud services. The package currently supports both Amazon Simple Storage Service (S3) and Google Cloud Storage (GCS). The example below illustrates how you can use `s3_bucket()` to refer to a an S3 bucket, and use `open_dataset()` to connect to the data set stored there: ```{r, eval=FALSE} -bucket <- s3_bucket("voltrondata-labs-datasets/nyc-taxi") +bucket <- s3_bucket("arrow-datasets/nyc-taxi") nyc_taxi <- open_dataset(bucket) ``` diff --git a/r/vignettes/dataset.Rmd b/r/vignettes/dataset.Rmd index bf8c00a5b6cb..085113033c7b 100644 --- a/r/vignettes/dataset.Rmd +++ b/r/vignettes/dataset.Rmd @@ -22,13 +22,13 @@ This multi-file data set is comprised of 158 distinct Parquet files, each corres If you have Amazon S3 support enabled in arrow (true for most users; see links at the end of this article if you need to troubleshoot this), you can connect to a copy of the "tiny taxi data" stored on S3 with this command: ```r -bucket <- s3_bucket("voltrondata-labs-datasets/nyc-taxi-tiny") +bucket <- s3_bucket("arrow-datasets/nyc-taxi-tiny") ``` Alternatively you could connect to a copy of the data on Google Cloud Storage (GCS) using the following command: ```r -bucket <- gs_bucket("voltrondata-labs-datasets/nyc-taxi-tiny", anonymous = TRUE) +bucket <- gs_bucket("arrow-datasets/nyc-taxi-tiny", anonymous = TRUE) ``` If you want to use the full data set, replace `nyc-taxi-tiny` with `nyc-taxi` in the code above. Apart from size -- and with it the cost in time, bandwidth usage, and CPU cycles -- there is no difference in the two versions of the data: you can test your code using the tiny taxi data and then check how it scales using the full data set. diff --git a/r/vignettes/fs.Rmd b/r/vignettes/fs.Rmd index 07476877c5b8..ed3b1bddb035 100644 --- a/r/vignettes/fs.Rmd +++ b/r/vignettes/fs.Rmd @@ -39,16 +39,16 @@ and pass the result to file readers and writers (`read_parquet()`, `write_feathe Often the reason users work with cloud storage in real world analysis is to access large data sets. An example of this is discussed in the [datasets article](./dataset.html), but new users may prefer to work with a much smaller data set while learning how the arrow cloud storage interface works. To that end, the examples in this article rely on a multi-file Parquet dataset that stores a copy of the `diamonds` data made available through the [`ggplot2`](https://ggplot2.tidyverse.org/) package, documented in `help("diamonds", package = "ggplot2")`. The cloud storage version of this data set consists of 5 Parquet files totaling less than 1MB in size. -The diamonds data set is hosted on both S3 and GCS, in a bucket named `voltrondata-labs-datasets`. To create an S3FileSystem object that refers to that bucket, use the following command: +The diamonds data set is hosted on both S3 and GCS, in a bucket named `arrow-datasets`. To create an S3FileSystem object that refers to that bucket, use the following command: ```r -bucket <- s3_bucket("voltrondata-labs-datasets") +bucket <- s3_bucket("arrow-datasets") ``` To do this for the GCS version of the data, the command is as follows: ```r -bucket <- gs_bucket("voltrondata-labs-datasets", anonymous = TRUE) +bucket <- gs_bucket("arrow-datasets", anonymous = TRUE) ``` Note that `anonymous = TRUE` is required for GCS if credentials have not been configured. @@ -126,7 +126,7 @@ df <- read_parquet(june2019$path("part-0.parquet")) `SubTreeFileSystem` can also be made from a URI: ```r -june2019 <- SubTreeFileSystem$create("s3://voltrondata-labs-datasets/nyc-taxi/year=2019/month=6") +june2019 <- SubTreeFileSystem$create("s3://arrow-datasets/nyc-taxi/year=2019/month=6") ``` --> @@ -150,8 +150,8 @@ gs://anonymous@bucket/path For example, the Parquet file storing the "good cut" diamonds that we downloaded earlier in the article is available on both S3 and CGS. The relevant URIs are as follows: ```r -uri <- "s3://voltrondata-labs-datasets/diamonds/cut=Good/part-0.parquet" -uri <- "gs://anonymous@voltrondata-labs-datasets/diamonds/cut=Good/part-0.parquet" +uri <- "s3://arrow-datasets/diamonds/cut=Good/part-0.parquet" +uri <- "gs://anonymous@arrow-datasets/diamonds/cut=Good/part-0.parquet" ``` Note that "anonymous" is required on GCS for public buckets. Regardless of which version you use, you can pass this URI to `read_parquet()` as if the file were stored locally: @@ -165,7 +165,7 @@ that are passed down to configure the underlying file system. They are separated by `&`. For example, ``` -s3://voltrondata-labs-datasets/?endpoint_override=https%3A%2F%2Fstorage.googleapis.com&allow_bucket_creation=true +s3://arrow-datasets/?endpoint_override=https%3A%2F%2Fstorage.googleapis.com&allow_bucket_creation=true ``` is equivalent to: @@ -175,7 +175,7 @@ bucket <- S3FileSystem$create( endpoint_override="https://storage.googleapis.com", allow_bucket_creation=TRUE ) -bucket$path("voltrondata-labs-datasets/") +bucket$path("arrow-datasets/") ``` Both tell the `S3FileSystem` object that it should allow the creation of new buckets @@ -198,7 +198,7 @@ a request may spend retrying before returning an error. The current default is 15 minutes, so in many interactive contexts it's nice to set a lower value: ``` -gs://anonymous@voltrondata-labs-datasets/diamonds/?retry_limit_seconds=10 +gs://anonymous@arrow-datasets/diamonds/?retry_limit_seconds=10 ``` ## Authentication @@ -237,9 +237,9 @@ If you haven't configured credentials, then to access *public* buckets, you must pass `anonymous = TRUE` or `anonymous` as the user in a URI: ```r -bucket <- gs_bucket("voltrondata-labs-datasets", anonymous = TRUE) +bucket <- gs_bucket("arrow-datasets", anonymous = TRUE) fs <- GcsFileSystem$create(anonymous = TRUE) -df <- read_parquet("gs://anonymous@voltrondata-labs-datasets/diamonds/cut=Good/part-0.parquet") +df <- read_parquet("gs://anonymous@arrow-datasets/diamonds/cut=Good/part-0.parquet") ```