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]: Teradata DDL conversion enhancement #1369

Open
1 task done
sriram251-code opened this issue Dec 13, 2024 · 0 comments
Open
1 task done

[FEATURE]: Teradata DDL conversion enhancement #1369

sriram251-code opened this issue Dec 13, 2024 · 0 comments
Assignees
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

The AST is incorrectly interpreting WEEK_OF_YEAR_US as a function instead of recognizing it as a column. This issue needs to be resolved to ensure correct parsing

ex:

REPLACE VIEW A.VIEWB
AS
LOCKING TABLE SCHEMAA.TABLEC FOR ACCESS

SELECT

      CAST((WEEK_OF_YEAR_US (FORMAT '99')) AS CHAR(2))                  AS COL1

FROM
    SCHEMAA.TABLEC;

Proposed Solution

Parsing strategy needs to be changed

Additional Context

No response

@sriram251-code sriram251-code added the enhancement New feature or request label Dec 13, 2024
@sriram251-code sriram251-code self-assigned this Dec 13, 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