Kyle
10/08/2024, 7:36 AMFileNotFoundError: File: /tmp/ray/xxx/0.parquet not found
No such file or directory (os error 2)Kyle
10/08/2024, 7:38 AM╭────────────────────────────────┬────────┬──────────╮
│ path ┆ size ┆ num_rows │
│ --- ┆ --- ┆ --- │
│ Utf8 ┆ Int64 ┆ Int64 │
╞════════════════════════════════╪════════╪══════════╡
│ file:///tmp/ray/xxx/0.parquet ┆ 358370 ┆ None │
╰────────────────────────────────┴────────┴──────────╯jay
10/08/2024, 7:43 AMdaft.from_glob_paths("/tmp/ray/xxx/*.parquet")
But this doesn’t
daft.read_parquet("/tmp/ray/xxx/*.parquet")Kyle
10/08/2024, 2:58 PMKyle
10/08/2024, 2:59 PMjay
10/08/2024, 2:59 PMdaft.read_parquet/from_glob_paths on your laptop, it’s going to do the globbing from your laptop/dev machine…Kyle
10/08/2024, 3:00 PMjay
10/08/2024, 3:00 PMjay
10/08/2024, 3:00 PMjay
10/08/2024, 3:01 PMjay
10/08/2024, 3:01 PMfrom_glob_path is a special code-path to run the globbing in the cluster. I think we did this specifically because people wanted to use cluster credentials for globbingjay
10/08/2024, 3:01 PMKyle
10/08/2024, 3:02 PMjay
10/08/2024, 3:03 PMread_parquet does a bunch of other things besides globbing (we read the first file to get the schema as well). All of this today happens on the dev machine instead of the cluster.Kyle
10/08/2024, 3:03 PMKyle
10/08/2024, 3:03 PMjay
10/08/2024, 3:04 PMKyle
10/08/2024, 3:04 PMKyle
10/08/2024, 3:04 PMjay
10/08/2024, 3:04 PMjay
10/08/2024, 3:05 PMjay
10/08/2024, 3:05 PMKyle
10/08/2024, 3:05 PMjay
10/08/2024, 3:06 PMKyle
10/08/2024, 3:06 PM