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

Don't use "select *" when fetching cached models in columnar DB's #43138

Open
paoliniluis opened this issue May 24, 2024 · 0 comments
Open

Don't use "select *" when fetching cached models in columnar DB's #43138

paoliniluis opened this issue May 24, 2024 · 0 comments

Comments

@paoliniluis
Copy link
Contributor

Describe the bug

Checking #43137 I was thinking that when we do caching of models we end up firing "select * ..." to the cached models. This might work fine for postgres but not for redshift, so we should also apply the solution mentioned in the issue linked

To Reproduce

  1. create a model in redshift
  2. cache it
  3. fire a query to the cached model
  4. see that we're sending a select * in the subquery, which is not recommended at all in columnar dbs

Expected behavior

NA

Logs

NA

Information about your Metabase installation

it has been there since forever

Severity

P2

Additional context

No response

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

No branches or pull requests

2 participants