assignUser commented on issue #39660:
URL: https://github.com/apache/arrow/issues/39660#issuecomment-1899317061

   Thanks @paleolimbot, that does work:
   ```r
   r$> mtcars4 = open_dataset(tmp, partitioning = hive_partition(test = 
string()))
   
   r$> mtcars4
   FileSystemDataset with 6 Parquet files
   mpg: double
   cyl: double
   disp: double
   hp: double
   drat: double
   wt: double
   qsec: double
   vs: double
   am: double
   gear: double
   carb: double
   test: string
   
   r$> mtcars4 |> as_tibble()
   # A tibble: 32 × 12
        mpg   cyl  disp    hp  drat    wt  qsec    vs    am  gear  carb test
      <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <chr>
    1  22.8     4 108      93  3.85  2.32  18.6     1     1     4     1 01
    2  21.4     6 258     110  3.08  3.22  19.4     1     0     3     1 01
    3  18.1     6 225     105  2.76  3.46  20.2     1     0     3     1 01
    4  32.4     4  78.7    66  4.08  2.2   19.5     1     1     4     1 01
    5  33.9     4  71.1    65  4.22  1.84  19.9     1     1     4     1 01
    6  21.5     4 120.     97  3.7   2.46  20.0     1     0     3     1 01
    7  27.3     4  79      66  4.08  1.94  18.9     1     1     4     1 01
    8  18.7     8 360     175  3.15  3.44  17.0     0     0     3     2 02
    9  24.4     4 147.     62  3.69  3.19  20       1     0     4     2 02
   10  22.8     4 141.     95  3.92  3.15  22.9     1     0     4     2 02
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to