Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE]: Unable to Convert Teradata MULTISET DDL Statements #1166

Open
1 task done
sriram251-code opened this issue Nov 6, 2024 · 0 comments
Open
1 task done
Labels
enhancement New feature or request

Comments

@sriram251-code
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Category of feature request

Transpile

Problem statement

There is an issue with converting Teradata DDL statements, specifically with the following example:

CREATE MULTISET TABLE TBL_NAME ,FALLBACK ,
     NO BEFORE JOURNAL,
     NO AFTER JOURNAL,
     CHECKSUM = DEFAULT,
     DEFAULT MERGEBLOCKRATIO,
     MAP = TD_MAP1
     (
     COL1 DATE FORMAT 'YYYY-MM-DD' NOT NULL,
     COL2 INTEGER NOT NULL,
     COL3 CHAR(1) CHARACTER SET LATIN NOT CASESPECIFIC NOT NULL COMPRESS ('C','F','M'),
)
PRIMARY INDEX (COL1, COL2)
PARTITION BY RANGE_N(CAST((COL4) AS DATE FORMAT 'YYYY-MM-DD') BETWEEN CAST(('2018-01-01') AS DATE FORMAT 'YYYY-MM-DD') AND CAST(('2031-12-31') AS DATE FORMAT 'YYYY-MM-DD') EACH INTERVAL '1' DAY);

Proposed Solution

Need to generate equivalent DBSQL.

Additional Context

No response

@sriram251-code sriram251-code added the enhancement New feature or request label Nov 6, 2024
@sundarshankar89 sundarshankar89 changed the title [FEATURE]: Lufthansa: Unable to Convert Teradata DDL Statements [FEATURE]: Unable to Convert Teradata DDL Statements Nov 6, 2024
@sundarshankar89 sundarshankar89 changed the title [FEATURE]: Unable to Convert Teradata DDL Statements [FEATURE]: Unable to Convert Teradata MULTISET DDL Statements Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant