Skip to content

Unable to load sharded data from files without filetype extensions #573

@mhlr

Description

@mhlr

I am trying to load data from directory of jsonlines formatted files which lack the .json extension.

I have tried:

data('/path/to/dir/')
data('/path/to/dir/*')
data(JSONLines('/path/to/dir/'))
data(JSONLines('/path/to/dir/*'))
data(Directory(JSONLines)('/path/to/dir/'))
data(Directory(JSONLines)('/path/to/dir/*'))

all of which throw either Unable to parse uri to data resource or No such file or directory.

I am able to parse a single file with:

data(JSONLines('/path/to/dir/file1'))

Is this a bug / unimplemented functionality or am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions