-
Notifications
You must be signed in to change notification settings - Fork 0
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
Added E6data support in the dialects.py #1
base: e6-integration
Are you sure you want to change the base?
Conversation
Signed-off-by: adithyakanamarlapudi <kanamarlapudi@e6x.io>
@@ -18,7 +18,16 @@ | |||
SQLite, | |||
Trino, | |||
) | |||
from sqlglot.dialects.dialect import rename_func | |||
from sqlglot.dialects.dialect import ( |
There was a problem hiding this comment.
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
…int at appropriate places.
@shreyas2201 Added generator import and some more changes and pushed it in the commit |
… binary on left. And also inheriting from SqlGlotCompiler rather than MYSQLcompiler.
ibis/backends/e6data/compiler.py
Outdated
__slots__ = () | ||
|
||
dialect = E6data | ||
type_mapper = E6DataType | ||
|
||
def visit_Equals(self, op, *, left, right): | ||
return sge.EQ(this=left, expression=right) |
There was a problem hiding this comment.
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
removed that part @shreyas2201 |
No description provided.