Skip to content

Define cube key #491

@leonorsilva

Description

@leonorsilva

When I try to redefine the cube's key it appears as it does not change.
This is my model:


    "cubes": [
    	{
            "name": "un_hi",
            "dimensions": [
                "date",
                "location",
                "transport"
            ],
            "key": 
            	"ag_id"
            ,
            "joins":[
                 {"master":"un_hi.eid",
                 "detail":"agency_event.eid"}
            ],
            "aggregates": [
                {
                    "name": "record_count",
                    "function": "count"
                }
            ],
            "mappings": {
                "location.latitude": "un_hi.latitude",
                "location.longitude": "un_hi.longitude",
                "transport.unityp":"un_hi.unityp"
            }
      }
]

So I am trying to change the key to ag_id, but then the browser is doing this query:
Screenshot_2020-04-06 Screenshot from 2020-04-06 06-44-22 png (PNG Image, 3286 × 1080 pixels)
What am I doing wrong?
Thank you for your time!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions