paleolimbot opened a new pull request, #1224:
URL: https://github.com/apache/arrow-adbc/pull/1224

   This PR adds the ability to ingest dictionary-encoded string and binary 
columns.
   
   TODO: Add tests for dictionary-encoded things
   
   From the R bindings:
   
   ``` r
   library(adbcdrivermanager)
   
   db <- adbc_database_init(adbcsqlite::adbcsqlite(), uri = ":memory:")
   con <- adbc_connection_init(db)
   
   df <- data.frame(x = factor(letters[1:10]))
   write_adbc(df, con, "tbl")
   
   read_adbc(con, "SELECT * from tbl") |> 
     as.data.frame()  
   #>    x
   #> 1  a
   #> 2  b
   #> 3  c
   #> 4  d
   #> 5  e
   #> 6  f
   #> 7  g
   #> 8  h
   #> 9  i
   #> 10 j
   ```
   
   <sup>Created on 2023-10-25 with [reprex 
v2.0.2](https://reprex.tidyverse.org)</sup>


-- 
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