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

A measure with a tool long name cannot be used #9115

Open
flomelki opened this issue Jan 20, 2025 · 1 comment
Open

A measure with a tool long name cannot be used #9115

flomelki opened this issue Jan 20, 2025 · 1 comment
Assignees
Labels
question The issue is a question. Please use Stack Overflow for questions.

Comments

@flomelki
Copy link

Describe the bug
A measure with a name that is too long (reproduced on 33 characters) makes this field unusable with the following error message : You requested hidden member: 'v_rpm_and_monitoring_timeline_v2__count_distinct_myfollowed_cli'. Please make it visible using shown: true. Please note primaryKey fields are shown: falseby default: https://cube.dev/docs/schema/reference/joins#setting-a-primary-key.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Data Model
  2. Create a new model
  3. Create a measure with a name like count_distinct_myfollowed_clients
  4. Test the measure into the Playground

Expected behavior
Wished solution: it works no matter the length of the name of the measure
At worst : the error message is more clear.

Screenshots

Minimally reproducible Cube Schema

Version:
1.1.15

Additional context

@igorlukanin
Copy link
Member

Hi @flomelki 👋

Do you think this is the same as #8198?

Also, which data source do you use?

@igorlukanin igorlukanin self-assigned this Jan 21, 2025
@igorlukanin igorlukanin added the question The issue is a question. Please use Stack Overflow for questions. label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question The issue is a question. Please use Stack Overflow for questions.
Projects
None yet
Development

No branches or pull requests

2 participants