pathling_read_delta {pathling} | R Documentation |
Create a data source from Delta tables
Description
pathling_read_delta()
creates a data source from a directory containing Delta tables.
Each table must be named according to the name of the resource type that it stores.
Usage
pathling_read_delta(pc, path)
Arguments
pc |
The PathlingContext object. |
path |
The URI of the directory containing the Delta tables. |
Value
A DataSource object that can be used to run queries against the data.
See Also
Pathling documentation - Reading Delta
Other data source functions:
pathling_read_bundles()
,
pathling_read_datasets()
,
pathling_read_ndjson()
,
pathling_read_parquet()
,
pathling_read_tables()
Examples
pc <- pathling_connect()
data_source <- pc %>% pathling_read_delta(pathling_examples('delta'))
data_source %>% ds_read('Patient') %>% sparklyr::sdf_nrow()
pathling_disconnect(pc)
[Package pathling version 7.0.0 Index]