Skip to content

Commit

Permalink
Rebase on current
Browse files Browse the repository at this point in the history
  • Loading branch information
jduo committed Jan 26, 2024
1 parent d932300 commit 8ae4467
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public FlightSqlDriver(BufferAllocator allocator) {
public AdbcDatabase open(Map<String, Object> parameters) throws AdbcException {
String uri = PARAM_URI.get(parameters);
if (uri == null) {
Object target = parameters.get("adbc.url");
Object target = parameters.get(AdbcDriver.PARAM_URL);
if (!(target instanceof String)) {
throw AdbcException.invalidArgument(
"[Flight SQL] Must provide String " + PARAM_URI + " parameter");
Expand Down Expand Up @@ -69,7 +69,7 @@ public AdbcDatabase open(Map<String, Object> parameters) throws AdbcException {
allocator,
location,
(SqlQuirks) quirks,
(String) parameters.get("adbc.username"),
(String) parameters.get("adbc.password"));
PARAM_USERNAME.get(parameters),
PARAM_PASSWORD.get(parameters));
}
}

0 comments on commit 8ae4467

Please sign in to comment.