Closed kkadu closed 10 months ago
I am not sure if it is related to the load balance for the rest api. We have a clustered environment managed by load balancer, so I believe the session information is passed along when we connect. I also tried to do it via "Get Cube Definition API" - {{baseUrl}}/api/v2/cubes/:cubeId but getting the same error.
Hi @kkadu, this might be related to the load balancer. Could you try using connection.select_project
before cube creation?
Yes, we do that already. Here is our script -
conn.select_project(project_id=mstr_project_id)
dataset = SuperCube(conn, name=cube)
dataset.add_table(name=cube, data_frame=df, update_policy=update_policy, to_attribute=header, to_metric=[])
dataset.create()
The problem I am trying to understand is, when the cube is actually getting created successfully, why are we getting an error while fetching its definition \super_cube.py:475
here.
@kkadu Please contact Support to log a case for this issue as this might be related to metadata or cluster configuration.
@kkadu closing the issue at this moment as not reproducible if more info about issue will be gathered we can re-open this issue. cc: @urszulajaczewska
Iserver Version - 11.3.0660 mstrio - 11.3.10.103
I am trying to create a supercube using the create() function, but I get the below error. Btw, I also tried using the parameter force='True' during create step, to skip checking the cube but that does not help.
Steps:
.add_table
and then show table withdataset.tables
. Here dataset is my SuperCube object.Output:
dataset.create()
to create it and get the below error. It seems that it is trying to get the definition of the cube along with the create command, not sure if it is latency but the command does create the cube successfully however we get an error when it tries to check it.Output:
Detailed Error