-
Notifications
You must be signed in to change notification settings - Fork 105
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
feat(csharp/src/Drivers/BigQuery): choose the first project ID if not specified #2541
feat(csharp/src/Drivers/BigQuery): choose the first project ID if not specified #2541
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I left feedback.
csharp/test/Apache.Arrow.Adbc.Tests/MultiEnvironmentTestConfiguration.cs
Outdated
Show resolved
Hide resolved
public List<string> TestEnvironmentNames { get; set; } = new List<string>(); | ||
|
||
/// <summary> | ||
/// The active test environment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment seems to be at odds with both the property definition and the sample file.
What would it mean for the keys of this dictionary to be different than the list of names in TestEnvironmentNames
?
} | ||
|
||
if (environments.Count == 0) | ||
throw new InvalidOperationException("Could not find a configured Flight SQL environment"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this error message more specific than it should be?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
The C# test failure looks unrelated. |
*detect-project-id*
value is passed). This change locates the first project ID in the list of project IDs and uses it if no project ID is specified.