Skip to content

Conversation

@alexguo-db
Copy link
Contributor

@alexguo-db alexguo-db commented May 1, 2025

Currently, calling GetCrossReference with just ForeignCatalogName, ForeignSchemaName, and ForeignTableName parameters fails because these parameters aren't properly set on the Thrift request.

This PR fixes the typo

Tested E2E locally and it works

          statement.SqlQuery = "getcrossreference";
          statement.SetOption(ApacheParameters.IsMetadataCommand, "true");
          statement.SetOption(ApacheParameters.ForeignCatalogName, "powerbi");
          statement.SetOption(ApacheParameters.ForeignSchemaName, "default");
          statement.SetOption(ApacheParameters.ForeignTableName, "nyc_taxi_tripdata");

@github-actions github-actions bot added this to the ADBC Libraries 18 milestone May 1, 2025
Copy link
Contributor

@CurtHagenlocher CurtHagenlocher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@CurtHagenlocher CurtHagenlocher merged commit 771b3c7 into apache:main May 1, 2025
9 checks passed
colin-rogers-dbt pushed a commit to dbt-labs/arrow-adbc that referenced this pull request Jun 10, 2025
…etCrossReference (apache#2765)

Currently, calling GetCrossReference with just ForeignCatalogName,
ForeignSchemaName, and ForeignTableName parameters fails because these
parameters aren't properly set on the Thrift request.

This PR fixes the typo

Tested E2E locally and it works
```
          statement.SqlQuery = "getcrossreference";
          statement.SetOption(ApacheParameters.IsMetadataCommand, "true");
          statement.SetOption(ApacheParameters.ForeignCatalogName, "powerbi");
          statement.SetOption(ApacheParameters.ForeignSchemaName, "default");
          statement.SetOption(ApacheParameters.ForeignTableName, "nyc_taxi_tripdata");
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants