Skip to content

Conversation

omus
Copy link
Collaborator

@omus omus commented Jul 8, 2021

Replaces #156. Changes here include the commits from that PR and uses the updated serialization framework introduces in apache/arrow-julia#156

@omus
Copy link
Collaborator Author

omus commented Jul 8, 2021

I'm expecting Julia 1.0 to fail as ArrowTypes doesn't support that version of Julia currently

t = Arrow.Table(Arrow.tobuffer(table))

# Arrow.jl converts all Period types into Second
@test_broken eltype(t.col) == HourEnding{ZonedDateTime, Open, Closed}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll probably end up disabling AnchoredInterval support to start with because of this

Copy link
Member

@rofinn rofinn Jul 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't explicitly override this behaviour? Given how much data we have saved in HE format needing to save hour data as Intervals would be a significant performance hit and likely wouldn't make this PR worth it for us. Also, doesn't Arrow have it's own interval type which does the same thing?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've forgotten a bunch about this PR but it should be possible to encode the period span in the serialized Arrow form. I do remember I was mainly focused on Interval support so I think this comment was more about that the implementation currently in place is incomplete.

@codecov
Copy link

codecov bot commented Jul 8, 2021

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.18%. Comparing base (f873f70) to head (973e286).
⚠️ Report is 56 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #167      +/-   ##
==========================================
+ Coverage   81.09%   82.18%   +1.09%     
==========================================
  Files          11       12       +1     
  Lines         603      640      +37     
==========================================
+ Hits          489      526      +37     
  Misses        114      114              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@omus
Copy link
Collaborator Author

omus commented Jul 8, 2021

I'm expecting Julia 1.0 to fail as ArrowTypes doesn't support that version of Julia currently

Fixing this in: apache/arrow-julia#223

Copy link
Collaborator Author

@omus omus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can remove depending on Requires.jl

@omus
Copy link
Collaborator Author

omus commented Jul 23, 2021

Should probably wait for apache/arrow-julia#229 which allows us some additional flexibility with how we encode Interval types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants