-
Notifications
You must be signed in to change notification settings - Fork 586
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
[MapD] Resolves Joining with different column names #1647
Conversation
ibis/mapd/operations.py
Outdated
@@ -596,6 +596,7 @@ class ByteLength(ops.StringLength): | |||
# GENERAL | |||
_general_ops = { | |||
ops.Literal: literal, | |||
ops.NullLiteral: lambda *args: 'CAST(NULL AS FLOAT)', |
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.
I don't think this is the correct fix for this. We need to cast to the correct type wherever NULL
is being used. In the case of #1620, it's in the code that the bucket
method is generating.
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.
I see ... could you provide more example or explanation about that? I am not sure how to get the type if I just use ibis.literal(None)
@xmnlab I will fix the null type issue in a different PR. Basically, we need to cast the null in the case statement to the results type so that there isn't an untyped null hanging around. |
@cpcloud thank you so much! If you can ping me in the PR, please ... I really want to learn how to do this :) |
Codecov Report
@@ Coverage Diff @@
## master #1647 +/- ##
==========================================
- Coverage 90.01% 87.35% -2.67%
==========================================
Files 185 185
Lines 27283 27223 -60
Branches 2329 2338 +9
==========================================
- Hits 24559 23780 -779
- Misses 2323 3036 +713
- Partials 401 407 +6
|
@xmnlab Can you add a test for this? |
@xmnlab Can you rebase and push all of your PRs? |
@cpcloud sure! I am working on that! thanks! |
it raised a error for maiadb installation on windows+py36
|
azure pipelines is still raising error on windows_test py35 for mariadb:
|
thanks @cpcloud! rebased! |
@xmnlab can your resolve the merge conflicts? i will merge after that. |
rebased! thanks @cpcloud ! |
Fixes #1619