Skip to content

Presto import triggers directory creation which does not always work #25

@kvantricht

Description

@kvantricht

Hi guys,

during a Presto import, this line always gets triggered:

data_dir.mkdir(exist_ok=True, parents=True)

On some systems like our cluster, where a Python wheel containing Presto is shipped and deployed, this does not work. I fixed it for now locally by catching the error without failing and the rest of the code (computing Presto encodings) worked without issue on the cluster. So it's something to look at.

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