Open tiger-feng opened 1 day ago
Another question is, in asyncModule, I get the requestId of each request through COMPILE_CONTEXT.requestId. I found that in the same tenant, the requestId obtained after each request is unchanged. I think it should be different every time.
Describe the bug Each time the data model is compiled, asyncModule is called three times
Expected behavior Each time the data model is compiled, asyncModule is called three times. asyncModule uses the asynchronous API to obtain the schema model, which seriously affects the API performance.
Minimally reproducible Cube Schema In the following example, by introducing a logger to print information to the console, it is found that the string 'asyncModule getCubeSchema' is printed three times, which means that the asynchronous interface is requested three times.
Version: [e.g. 1.1.7]