Commit 771b3c7
authored
fix(csharp/src/Drivers/Apache): Fix setting foreign schema/table in GetCrossReference (#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");
```1 parent e869a55 commit 771b3c7
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1139 | 1139 | | |
1140 | 1140 | | |
1141 | 1141 | | |
1142 | | - | |
| 1142 | + | |
1143 | 1143 | | |
1144 | 1144 | | |
1145 | 1145 | | |
1146 | | - | |
| 1146 | + | |
1147 | 1147 | | |
1148 | 1148 | | |
1149 | 1149 | | |
| |||
0 commit comments