Skip to content

While creating external tables, the CLI should initiate a delta log if the directory exists but is empty. #62

@ravivj-db

Description

@ravivj-db

Describe the bug

Currently, the CLI only initiates the delta log if the local directory doesn't exists. It should ideally initiate the delta log even for the case when the directory exists but is empty.

To Reproduce

Steps to reproduce the behavior:

  1. Create the local directory matching the external table location but leave it empty.
  2. Create an external table with UC OSS, specifying the storage location as a local absolute path.
  3. Read Table from the CLI will error out as no delta table exists at the path.

Expected behavior

Delta log should be initialized and read table should succeed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions