Skip to content

Add columnstore option to CREATE TABLE WITH #8178

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

Merged
merged 1 commit into from
May 28, 2025
Merged

Conversation

svenklemm
Copy link
Member

Allow opting out of columnstore when creating hypertable with
CREATE TABLE WITH. To prevent having the defaults for CREATE TABLE
WITH be different between licenses this is a required option when
using apache license otherwise a license error will be thrown.

Copy link

@erimatnor, @fabriziomello: please review this pull request.

Powered by pull-review

@svenklemm svenklemm added this to the v2.21.0 milestone May 26, 2025
@svenklemm svenklemm requested review from antekresic, Poroma-Banerjee, akuzm and a team May 26, 2025 15:04
@svenklemm svenklemm force-pushed the sven/with_columnstore branch from 95ee4f4 to 79c83d6 Compare May 26, 2025 15:56
Copy link

codecov bot commented May 26, 2025

Codecov Report

Attention: Patch coverage is 90.90909% with 1 line in your changes missing coverage. Please review.

Project coverage is 82.39%. Comparing base (09cd3d6) to head (8181d1a).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/cross_module_fn.c 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8178      +/-   ##
==========================================
+ Coverage   82.32%   82.39%   +0.07%     
==========================================
  Files         256      256              
  Lines       47931    47906      -25     
  Branches    12077    12073       -4     
==========================================
+ Hits        39457    39473      +16     
- Misses       3636     3651      +15     
+ Partials     4838     4782      -56     

☔ 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.

@akuzm
Copy link
Member

akuzm commented May 27, 2025

Can we make it automatically default to "off" when the user is using Apache? It's kind of weird to make them manually specify they don't need compression again and again, after they have already chosen the version that doesn't support it.

@svenklemm
Copy link
Member Author

Can we make it automatically default to "off" when the user is using Apache? It's kind of weird to make them manually specify they don't need compression again and again, after they have already chosen the version that doesn't support it.

This is intential, the outcome of a command should not be affected by the current license, that would just lead to confusion.

@akuzm
Copy link
Member

akuzm commented May 27, 2025

Can we make it automatically default to "off" when the user is using Apache? It's kind of weird to make them manually specify they don't need compression again and again, after they have already chosen the version that doesn't support it.

This is intential, the outcome of a command should not be affected by the current license, that would just lead to confusion.

Do we expect license changes to happen often? I was under the impression that people just chose it once per installation and generally stick with it. In this case, having the default value for the command harmonized with the license choice might be not so bad.

@svenklemm
Copy link
Member Author

Can we make it automatically default to "off" when the user is using Apache? It's kind of weird to make them manually specify they don't need compression again and again, after they have already chosen the version that doesn't support it.

This is intential, the outcome of a command should not be affected by the current license, that would just lead to confusion.

Do we expect license changes to happen often? I was under the impression that people just chose it once per installation and generally stick with it. In this case, having the default value for the command harmonized with the license choice might be not so bad.

People are sometimes on wrong license either because of using wrong package or bugs.

@svenklemm svenklemm force-pushed the sven/with_columnstore branch from 79c83d6 to acd18ab Compare May 28, 2025 14:55
Allow opting out of columnstore when creating hypertable with
CREATE TABLE WITH. To prevent having the defaults for CREATE TABLE
WITH be different between licenses this is a required option when
using apache license otherwise a license error will be thrown.
@svenklemm svenklemm force-pushed the sven/with_columnstore branch from acd18ab to 8181d1a Compare May 28, 2025 15:28
@svenklemm svenklemm merged commit 5bf49f5 into main May 28, 2025
41 checks passed
@svenklemm svenklemm deleted the sven/with_columnstore branch May 28, 2025 15:54
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.

4 participants