[
https://issues.apache.org/jira/browse/CALCITE-5358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Hyde resolved CALCITE-5358.
----------------------------------
Fix Version/s: avatica-1.23.0
Resolution: Fixed
Fixed in
[bc285781|https://github.com/apache/calcite-avatica/commit/bc285781666ea1cbc35868e0373ed532d45292d8];
thanks for the PR, [~oliverlee]!
> Adding in HTTP_BAD_REQUEST error response
> -----------------------------------------
>
> Key: CALCITE-5358
> URL: https://issues.apache.org/jira/browse/CALCITE-5358
> Project: Calcite
> Issue Type: Improvement
> Components: avatica
> Reporter: Oliver Lee
> Assignee: Oliver Lee
> Priority: Trivial
> Fix For: avatica-1.23.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> The {{createErrorResponse}} function in {{AstractHandler.java}}
> [here|https://github.com/apache/calcite-avatica/blob/1f0f0c1c56b35c4524564a126f1db525437a130b/core/src/main/java/org/apache/calcite/avatica/remote/AbstractHandler.java#L126]
> doesn't include {{{}HTTP_BAD_REQUEST{}}}.
>
> An example use case is if an auth token as well as user/password is provided.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)