Skip to content

[BUG]: Morpheus tables with default columns not converted correctly #2560

Description

@shettynithya

Is there an existing issue for this?

  • I have searched the existing issues

Category of Bug / Issue

Converter bug

Current Behavior

Morpheus does not convert tables with default values on columns correctly, see examples below

Expected Behavior

The following table properties is not set therefore the alter commands for default values fails.

the tblproperties TBLPROPERTIES('delta.feature.allowColumnDefaults' = 'supported').

Steps To Reproduce

  1. use the example table code to reproduce
  2. run the morpheus transpiler
  3. try to create the table in databricks.

Relevant log output or Exception details

Converted without errors, issue is with missing functionality.

Logs Confirmation

  • I ran the command line with --debug
  • I have attached the lsp-server.log under USER_HOME/.databricks/labs/remorph-transpilers/<converter_name>/lib/lsp-server.log

Sample Query

Operating System

Windows

Version

latest via Databricks CLI

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions