You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Vishal Satish (Jira)" <ji...@apache.org> on 2026/03/19 04:02:00 UTC
[jira] [Created] (CALCITE-7445) RuntimeException for unhandled protobuf Severity in AvaticaSeverity.fromProto
Vishal Satish created CALCITE-7445:
--------------------------------------
Summary: RuntimeException for unhandled protobuf Severity in AvaticaSeverity.fromProto
Key: CALCITE-7445
URL: https://issues.apache.org/jira/browse/CALCITE-7445
Project: Calcite
Issue Type: Bug
Components: avatica
Reporter: Vishal Satish
AvaticaSeverity.fromProto() throws RuntimeException for unknown protobuf severity levels:
throw new RuntimeException("Unhandled protobuf Severity level: " + proto).
This crashes the server when receiving malformed protobuf messages with unexpected severity values, instead of gracefully handling the error.
Fix: Return AvaticaSeverity.UNKNOWN or handle unknown protobuf values gracefully.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)