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

Bug: Timeout Error when Processing Many Explores #151

Open
kashira202111 opened this issue Feb 24, 2025 · 0 comments
Open

Bug: Timeout Error when Processing Many Explores #151

kashira202111 opened this issue Feb 24, 2025 · 0 comments

Comments

@kashira202111
Copy link

How to reproduce the problem

When there are too many Explores stored in the BigQuery table ${datasetName}.explore_assistant_examples —as in our environment, where there are 663 Explores and 51 models — the fetchSemanticModel function in useLookerFields.ts times out.

By default, error details do not appear in the debug log, so I added a log for better visibility.

    const fetchSemanticModel = async (
     ...
    ): Promise<SemanticModel | undefined> => {
      try {
        ....
      } catch (error) {
        showBoundary({
          // message: `Failed to fetch semantic model for ${modelName}::${exploreId}`,
          message: `Failed to fetch semantic model for ${modelName}::${exploreId}, ${error}`, // add a detail error
        })
        return undefined
      }
error_log_image

My Environments

  • Looker SDK versions: ^24.2.0
  • Looker versions: 25.0.23
  • Mac OS: 15.3.1 (Sequoia)
  • Memory: 16GB
  • CPU: Apple M1
  • The num of my Explores: 663

Expecting Behavior

It should handle a large number of Explores without causing errors.

For example, instead of loading all dimensions and measures during initialization, load them when switching Explores. This design also helps reduce the Assistant's startup time.

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

No branches or pull requests

1 participant