Skip to content

Gemini Data Analytics QueryData tool does not support bigquery table reference #2324

@nguoithichkhampha

Description

@nguoithichkhampha

Prerequisites

  • I've searched the current open issues
  • I've updated to the latest version of Toolbox

Toolbox version

0.25.0

Environment

  1. OS type and version: MacOS
  2. How are you running Toolbox:
  • As a downloaded binary with homebrew

Client

inspect the tool via UI

Expected Behavior

Gemini Data Analytics QueryData tool support bigquery table reference

Current Behavior

Gemini Data Analytics QueryData tool does not support bigquery table reference.
when I config a tool like this

context:
      datasourceReferences:
        bigQueryTableReferences:
          bigQueryTableReference:
            - projectId:
              datasetId:
              tableId:

I get the error when run toolbox with config file
unknown field \"bigQueryTableReferences\"\n
I also try different syntax BigQueryTableReferences or bigqueryTableReferences but still error

As I see in the source code of Gemini Data Analytics API. it supports for bigQueryTableReferences

message DatasourceReferences {
  // The datasources to use.
  oneof references {
    // References to BigQuery tables.
    BigQueryTableReferences bq = 1;

    // References to Looker Studio datasources.
    StudioDatasourceReferences studio = 2;

    // References to Looker Explores.
    LookerExploreReferences looker = 3;

    // Reference to an AlloyDB database. Only supported for the `QueryData`
    // method.
    AlloyDbReference alloydb = 8;

    // Reference to a Spanner database. Only supported for the `QueryData`
    // method.
    SpannerReference spanner_reference = 9;

    // Reference to a CloudSql database. Only supported for the `QueryData`
    // method.
    CloudSqlReference cloud_sql_reference = 10;
  }

Steps to reproduce?

  1. Write config.yaml
  2. Run toolbox with config file

Additional Details

No response

Metadata

Metadata

Assignees

Labels

type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions