Skip to content

[BUG]: Teradata Conversion - some of the bteq procedural parts are not getting converted #2239

@soumyadhasharath

Description

@soumyadhasharath

Is there an existing issue for this?

  • I have searched the existing issues

Category of Bug / Issue

Application crashed

Current Behavior

Teradata conversion:

  1. Some of the procedural parts are getting converted example - Export, If statement, Goto, .run etc.
  2. Suppose if there is a comment inside a SQL query, tool is considering rest of the sentence to be a comment - Please check the merge statement in the attached file (line 67)

lsp-server.log
Teradata_output.sql

Teradata_Input.sql

.

PFA for source file, log file and converted file.

Expected Behavior

No response

Steps To Reproduce

No response

Relevant log output or Exception details

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

macOS

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