Skip to content

We don't like long column names in models #47584

Closed

Description

Describe the bug

If you have a very big column name, turning the query into a model will make the query to fail

To Reproduce

  1. create a sql question like
select count(*) as coun, state as Total_number_of_people_from_each_state_separated_by_state_and_then_we_do_a_count from people
group by Total_number_of_people_from_each_state_separated_by_state_and_then_we_do_a_count
  1. save it as a model
  2. see the error

Expected behavior

we should honor the name of the columns

Logs

NA

Information about your Metabase installation

v50

Severity

P1

Additional context

A customer mentioned that this is a regression

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

Metadata

Assignees

Labels

.Backend.Escalation.RegressionBugs that were previously fixed and/or bugs unintentionally shipped with new features..Team/QueryingPriority:P1Security holes w/o exploit, crashing, setup/upgrade, login, broken common features, correctnessQuerying/ProcessorType:BugProduct defects

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions