[
https://issues.apache.org/jira/browse/CALCITE-5358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oliver Lee updated CALCITE-5358:
--------------------------------
Description:
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.
was:
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.
> 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
> Priority: Trivial
>
> 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)