Closed tibor-mach closed 2 months ago
When I try to run
from datachain.lib.dc import DataChain, C dc = ( DataChain.from_storage("gs://datachain-demo/neurips") .filter(C.file.name.glob("*.pdf"))
I get the following error:
Trying this in Datachain version 0.3.3
It seems that this syntax now simply refers to the name itself, which is why it is a string.
Replacing that with C("file.name") does not work either, resulting in
C("file.name")
OperationalError: no such column: file__name
Solved - name is not used any more, replaced by file.path.
name
file.path
When I try to run
I get the following error:
Trying this in Datachain version 0.3.3
It seems that this syntax now simply refers to the name itself, which is why it is a string.
Replacing that with
C("file.name")
does not work either, resulting in