Skip to content
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

feat: Timestamp subtraction, epoch extraction from intervals #8346

Merged
merged 2 commits into from
Jun 14, 2024
Merged

feat: Timestamp subtraction, epoch extraction from intervals #8346

merged 2 commits into from
Jun 14, 2024

Conversation

srh
Copy link
Member

@srh srh commented Jun 12, 2024

Check List

  • Tests has been run in packages where changes made if available
  • Linter has been run for changed code
  • Tests for the changes have been added if not covered yet
  • Docs have been added / updated if required

Description of Changes Made (if issue reference is not provided)

This updates a git commit pointer to arrow-datafusion for cube-js/arrow-datafusion#158 and adds tests.

Some test values are rendered pretty screwily because of another bug outside the scope of this feature, involving formatting in IntervalValue::as_postgresql_str and misconstructed IntervalValues in batch_to_dataframe. That needs to be fixed but is seemingly a separate issue.

Edit: The test values will be fixed in the branch interval-rendering.

@srh srh requested review from a team as code owners June 12, 2024 09:23
Copy link

vercel bot commented Jun 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

8 Ignored Deployments
Name Status Preview Comments Updated (UTC)
examples-angular-dashboard ⬜️ Ignored (Inspect) Visit Preview Jun 14, 2024 8:45am
examples-react-d3 ⬜️ Ignored (Inspect) Visit Preview Jun 14, 2024 8:45am
examples-react-dashboard ⬜️ Ignored (Inspect) Visit Preview Jun 14, 2024 8:45am
examples-react-data-table ⬜️ Ignored (Inspect) Visit Preview Jun 14, 2024 8:45am
examples-react-highcharts ⬜️ Ignored (Inspect) Visit Preview Jun 14, 2024 8:45am
examples-react-material-ui ⬜️ Ignored (Inspect) Visit Preview Jun 14, 2024 8:45am
examples-react-pivot-table ⬜️ Ignored (Inspect) Visit Preview Jun 14, 2024 8:45am
examples-vue-query-builder ⬜️ Ignored (Inspect) Visit Preview Jun 14, 2024 8:45am

@github-actions github-actions bot added the pr:community Contribution from Cube.js community members. label Jun 12, 2024
@paveltiunov paveltiunov changed the title Timestamp subtraction, epoch extraction from intervals feat: Timestamp subtraction, epoch extraction from intervals Jun 14, 2024
srh added 2 commits June 14, 2024 01:44
…_interval

Includes test cases that pass but should fail, due to formatting in
IntervalValue::as_postgresql_str and misconstructed IntervalValues in
batch_to_dataframe.
@srh srh merged commit 8856cf3 into cube-js:master Jun 14, 2024
49 of 53 checks passed
@srh srh deleted the timestamp-subtraction branch June 14, 2024 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:community Contribution from Cube.js community members.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants