Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Rework the target table schema discovery #197

@s-vitaliy

Description

@s-vitaliy

Follow-Up for #196

The method toArcaneType in the SqlUtils class serves two purposes:

  1. To retrieve the schema from an MS SQL data source.
  2. To obtain the schema of the target table for schema migration.

This method is responsible for converting JDBC types into the internal Arcane representation. Its implementation depends on the specific JDBC connector being used. Any changes to this method can be risky, so we need to reconsider the approach used in this code to ensure stability and maintainability.

Potential Resolution Options:

  1. Use the Lakekeeper API for schema discovery. This approach was not implemented earlier because we previously used Polaris, which is less stable than Lakekeeper.
  2. Create two separate methods: one for MS SQL and another for Trino.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions