You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Column with OriginalType INT_8 failed at filtering #1745
I hit the following error when apply a filter predicate on a column with PrimitiveType = INT32 & OriginalType equal to INT_8.
java.lang.IllegalArgumentException: FilterPredicate column: c's declared type (java.lang.Integer) does not match the schema found in file metadata. Column c is of type: FullTypeDescriptor(PrimitiveType: INT32, OriginalType: INT_8)
Valid types for this column are: null
at parquet.filter2.predicate.ValidTypeMap.assertTypeValid(ValidTypeMap.java:114)
Ryan Blue / @rdblue: @isnotinvain, I'm going to make this a blocker for the 1.6.0 release since it is a simple fix. Would you mind fixing it? I don't really know my way through the filter code.
[~chinwei], if this makes the 1.6.0 release, then it will be released next week.
Ryan Blue / @rdblue:
This isn't a regression because the filter2 API and INT_* types were introduced since 1.5.0. But it is a known bug with the new code and should be an easy fix. I don't mind not including this since it is so close to RC.
Adam Gilmore:
It seems to me like we shouldn't care so much what the original type is when checking the filter. The only case in which I can understand that is for the UTF-8 strings etc., but for numeric values it doesn't make a lot of sense to me.
Alex Levenson / @isnotinvain:
Yes, this is probably overly strict.
I'm trying to remember why I put this in there initially, but I agree it seems like we should let all the various kinds of numbers through.
Activity
asfimport commentedon Mar 24, 2015
Ryan Blue / @rdblue:
@isnotinvain is this a blocker for 1.6.0?
asfimport commentedon Mar 25, 2015
Low Chin Wei:
It also apply to PrimitiveType: INT32, OriginalType: INT_16
asfimport commentedon Mar 25, 2015
Alex Levenson / @isnotinvain:
@rdblue we should probably fix it, it's an easy fix.
asfimport commentedon Apr 1, 2015
Low Chin Wei:
When do we expect the fix to release?
asfimport commentedon Apr 1, 2015
Ryan Blue / @rdblue:
@isnotinvain, I'm going to make this a blocker for the 1.6.0 release since it is a simple fix. Would you mind fixing it? I don't really know my way through the filter code.
[~chinwei], if this makes the 1.6.0 release, then it will be released next week.asfimport commentedon Apr 6, 2015
Julien Le Dem / @julienledem:
Is there a PR for this?
If not, I would suggest not making it a blocker for 1.6 as it does not look like a regression.
asfimport commentedon Apr 6, 2015
Ryan Blue / @rdblue:
This isn't a regression because the filter2 API and INT_* types were introduced since 1.5.0. But it is a known bug with the new code and should be an easy fix. I don't mind not including this since it is so close to RC.
asfimport commentedon Apr 7, 2015
Ryan Blue / @rdblue:
I'm pushing this out of 1.6.0 to get the RC out today.
asfimport commentedon Apr 8, 2015
Alex Levenson / @isnotinvain:
sorry, I haven't had a chance to revisit this
asfimport commentedon Apr 29, 2015
Adam Gilmore:
It seems to me like we shouldn't care so much what the original type is when checking the filter. The only case in which I can understand that is for the UTF-8 strings etc., but for numeric values it doesn't make a lot of sense to me.
asfimport commentedon Apr 30, 2015
Alex Levenson / @isnotinvain:
Yes, this is probably overly strict.
I'm trying to remember why I put this in there initially, but I agree it seems like we should let all the various kinds of numbers through.
asfimport commentedon Jun 24, 2015
Alex Levenson / @isnotinvain:
Issue resolved by pull request 219
#219