Skip to content

Commit

Permalink
fix: argument path file replaced by source in scan_parquet function
Browse files Browse the repository at this point in the history
  • Loading branch information
ddotta committed Apr 26, 2024
1 parent 4131a65 commit b91cb70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/content/benchmarking/_from_unique_parquet.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ With arrow, you can use the [following verbs from the tidyverse](https://arrow.a
parquet_polars_lazy <- function(variables) {
result <- pl$scan_parquet(file = "Datasets/DataMultiTypes.parquet")$
result <- pl$scan_parquet(source = "Datasets/DataMultiTypes.parquet")$
# Conversion of 2 columns to Date format
with_columns(
pl$col("colDate1")$str$strptime(pl$Date, "%F %T", strict = FALSE),
Expand Down Expand Up @@ -57,7 +57,7 @@ toc()
arrow_eager <- function(variables) {
result <- arrow::read_parquet("Datasets/DataMultiTypes.parquet") |>
result <- arrow::read_parquet(source = "Datasets/DataMultiTypes.parquet") |>
mutate(
# Conversion of 2 columns to Date format
Expand Down

0 comments on commit b91cb70

Please sign in to comment.