Skip to content

Add optional schema support for ExportSource::Table and ImportBuilder #40

@cyrixsimon

Description

@cyrixsimon

Problem
Currently, ExportSource::Table and ImportBuilder always use unqualified table names.
In multi-schema environments or when the default schema is insufficient, this prevents specifying the schema explicitly. Using a schema now requires executing an OPEN SCHEMA statement before performing operations on the table.

Proposed Solution

  • Allow an optional schema (Option<&str>) for ExportSource::Table
  • Update ImportBuilder to include the schema if specified, resulting in queries like SCHEMA.TABLE.
  • Preserve backward compatibility — if no schema is provided, behavior remains unchanged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions