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

fix(cubesql): Support to_timestamp(epoch) pg function, fix #8901 #8902

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

droidraja
Copy link

@droidraja droidraja commented Nov 3, 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

Issue Reference this PR resolves
#8901

@droidraja droidraja requested a review from a team as a code owner November 3, 2024 07:19
Copy link

vercel bot commented Nov 3, 2024

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

8 Skipped Deployments
Name Status Preview Comments Updated (UTC)
examples-angular-dashboard ⬜️ Ignored (Inspect) Visit Preview Nov 3, 2024 7:56pm
examples-react-d3 ⬜️ Ignored (Inspect) Visit Preview Nov 3, 2024 7:56pm
examples-react-dashboard ⬜️ Ignored (Inspect) Visit Preview Nov 3, 2024 7:56pm
examples-react-data-table ⬜️ Ignored (Inspect) Visit Preview Nov 3, 2024 7:56pm
examples-react-highcharts ⬜️ Ignored (Inspect) Visit Preview Nov 3, 2024 7:56pm
examples-react-material-ui ⬜️ Ignored (Inspect) Visit Preview Nov 3, 2024 7:56pm
examples-react-pivot-table ⬜️ Ignored (Inspect) Visit Preview Nov 3, 2024 7:56pm
examples-vue-query-builder ⬜️ Ignored (Inspect) Visit Preview Nov 3, 2024 7:56pm

@github-actions github-actions bot added the pr:community Contribution from Cube.js community members. label Nov 3, 2024
@paveltiunov
Copy link
Member

@droidraja Thanks for contributing! Could you please provide at least one test for it? Thanks!

@paveltiunov paveltiunov self-assigned this Nov 3, 2024
@droidraja
Copy link
Author

@droidraja Thanks for contributing! Could you please provide at least one test for it? Thanks!

@paveltiunov, This does not work for complex queries like to_timetamp(cast(epoch_varchar as numeric(10))) which is being issued by quicksight, will add a UDF to handle the same and push the changes with tests in some time

@droidraja
Copy link
Author

@paveltiunov have added the udf and testcases, please go ahead with the review.

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