-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about day
transform result type
#10616
Comments
Good catch. I think the spec is correct. I think it has to be handled as per 2.0 release. |
Hey @lurnagao-dahua Thanks for raising this, and @ajantha-bhat for jumping in here. This was discussed earlier in #10159 and points to a comment in #279 (comment). Some historical context:
So the logical type is a |
day
transform result type
@Fokko: Thanks for pointing out the previous discussions. I was certain that important topics like this had been covered before, but I couldn't find the relevant threads. I appreciate you sharing them. It's great to know that you bumped into this during the Python implementation 馃憤 |
Thank you everyone! |
Apache Iceberg version
1.5.2 (latest release)
Query engine
None
Please describe the bug 馃悶
Hi!
The transform name 'day' result type is 'int' in spec.md and partition-transforms
and the code in Days.java is:
@Override public Type getResultType(Type sourceType) { return Types.DateType.get(); }
So may I ask if the document was written incorrectly and the actual return type is date?
The text was updated successfully, but these errors were encountered: