-
Notifications
You must be signed in to change notification settings - Fork 642
bug (Impala): "date" type not recognized when trying to read Hive table #4449
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
Comments
Hey @indylec! Thanks for the report! I think you've diagnosed the issue correctly (although I haven't used the |
Hi @gforsyth, Ok, I'll try it out locally and attempt a pull request - stay tuned. /take |
Hi @gforsyth, So the fix works locally, I also had to add a key-value pair to the Now to the (first) rough patch: The core test suite passes ( Any guidance on how to set this up would be welcome, alternatively I can make the commit to my fork and someone else can run the Impala tests? Thanks! |
@indylec If you want to push up the PR, I can help you get through the test suite. |
@cpcloud thanks - I had missed the part in the docs about using docker-compose but would appreciate your help to run it with Impala. |
A Hive table I'm trying to read has columns with the "DATE" type (valid type as per the Impala docs).
When trying to run a simple expression (
table = connection.table('my_db.my_table'
), I get the following traceback:Looking at the source code it seems that "date" type is not in the
_impala_to_ibis_type
dict inudf.py
.Is it possible to include the date type here? It seems like a one-to-one equivalency with the ibis type.
I can try and submit a pull request for this although I don't have much experience with contributing!
The text was updated successfully, but these errors were encountered: