I am trying to load a parted table from disk but get a RayforceUserError stating that there is no partition directories.
dates1 = [datetime(2001, 1, 1, 1, 1, 1), datetime(2001, 1, 1, 1, 1, 2), datetime(2001, 1, 1, 1, 1, 3)]
dates2 = [datetime(2001, 1, 2, 1, 1, 1), datetime(2001, 1, 2, 1, 1, 2), datetime(2001, 1, 2, 1, 1, 3)]
prices1 = [1, 2, 3]
prices2 = [4, 5, 6]
t1 = Table.from_dict({'timestamp': Vector(dates1, ray_type=Timestamp),
'price': Vector(prices1, ray_type=I32)})
t2 = Table.from_dict({'timestamp': Vector(dates2, ray_type=Timestamp),
'price': Vector(prices2, ray_type=I32)})
t1.set_splayed('./db/2001-01-01/prices/')
t2.set_splayed('./db/2001-01-02/prices/')
# Raises Error
t = Table.from_parted('./db/', 'prices')
Description
I am trying to load a parted table from disk but get a RayforceUserError stating that there is no partition directories.
Sample Data
--
Version
2.2.0
Code Snippet
Output