Skip to content

Added E6data support in the dialects.py#1

Open
Adithyak-0926 wants to merge 6 commits intoe6-integrationfrom
Adithya-ibis
Open

Added E6data support in the dialects.py#1
Adithyak-0926 wants to merge 6 commits intoe6-integrationfrom
Adithya-ibis

Conversation

@Adithyak-0926
Copy link

No description provided.

Signed-off-by: adithyakanamarlapudi <kanamarlapudi@e6x.io>
Trino,
)
from sqlglot.dialects.dialect import rename_func
from sqlglot.dialects.dialect import (

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add from sqlglot import generator

@Adithyak-0926
Copy link
Author

@shreyas2201 Added generator import and some more changes and pushed it in the commit 4563ade83422e1aa97ce6ed0de3996f332fdaf17

… binary on left. And also inheriting from SqlGlotCompiler rather than MYSQLcompiler.
type_mapper = E6DataType

def visit_Equals(self, op, *, left, right):
return sge.EQ(this=left, expression=right)
Copy link

@shreyas2201 shreyas2201 Oct 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are directly using SQLGlotCompiler
you dont need this now

@Adithyak-0926
Copy link
Author

removed that part @shreyas2201

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants