cube icon indicating copy to clipboard operation
cube copied to clipboard

draft(cubesql): Temp Tables

Open MazterQyou opened this issue 2 years ago • 2 comments

Check List

  • [x] Tests has been run in packages where changes made if available
  • [x] 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

This PR adds support for temporary tables, allowing queries of form:

  • CREATE TEMPORARY TABLE tblname AS SELECT ...
  • SELECT ... INTO TEMPORARY TABLE tblname FROM...
  • DROP TABLE ...

MazterQyou avatar Feb 14 '24 14:02 MazterQyou

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 Feb 23, 2024 5:38pm
examples-react-d3 ⬜️ Ignored (Inspect) Visit Preview Feb 23, 2024 5:38pm
examples-react-dashboard ⬜️ Ignored (Inspect) Visit Preview Feb 23, 2024 5:38pm
examples-react-data-table ⬜️ Ignored (Inspect) Visit Preview Feb 23, 2024 5:38pm
examples-react-highcharts ⬜️ Ignored (Inspect) Visit Preview Feb 23, 2024 5:38pm
examples-react-material-ui ⬜️ Ignored (Inspect) Visit Preview Feb 23, 2024 5:38pm
examples-react-pivot-table ⬜️ Ignored (Inspect) Visit Preview Feb 23, 2024 5:38pm
examples-vue-query-builder ⬜️ Ignored (Inspect) Visit Preview Feb 23, 2024 5:38pm

vercel[bot] avatar Feb 14 '24 14:02 vercel[bot]

Codecov Report

Attention: Patch coverage is 79.34783% with 38 lines in your changes are missing coverage. Please review.

Project coverage is 67.90%. Comparing base (c013c91) to head (c93cd27).

Files Patch % Lines
rust/cubesql/cubesql/src/compile/mod.rs 67.14% 23 Missing :warning:
rust/cubesql/cubesql/e2e/tests/postgres.rs 85.36% 6 Missing :warning:
rust/cubesql/cubesql/src/sql/postgres/extended.rs 64.70% 6 Missing :warning:
rust/cubesql/cubesql/src/sql/temp_tables.rs 94.28% 2 Missing :warning:
rust/cubesql/cubesql/src/sql/mysql/service.rs 0.00% 1 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7757      +/-   ##
==========================================
+ Coverage   67.88%   67.90%   +0.01%     
==========================================
  Files         345      346       +1     
  Lines       58124    58288     +164     
  Branches     5394     5394              
==========================================
+ Hits        39459    39581     +122     
- Misses      17918    17960      +42     
  Partials      747      747              
Flag Coverage Δ
cube-backend 47.95% <ø> (ø)
cubesql 79.11% <79.34%> (-0.03%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Feb 14 '24 14:02 codecov[bot]