You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Josh Elser (Jira)" <ji...@apache.org> on 2020/08/03 01:05:00 UTC
[jira] [Updated] (CALCITE-4138) Metadata operations via Avatica
turn empty string args to null
[ https://issues.apache.org/jira/browse/CALCITE-4138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Elser updated CALCITE-4138:
--------------------------------
Affects Version/s: (was: 1.17.0)
avatica-1.17.0
> Metadata operations via Avatica turn empty string args to null
> --------------------------------------------------------------
>
> Key: CALCITE-4138
> URL: https://issues.apache.org/jira/browse/CALCITE-4138
> Project: Calcite
> Issue Type: Bug
> Components: avatica
> Affects Versions: avatica-1.17.0
> Reporter: Istvan Toth
> Assignee: Istvan Toth
> Priority: Major
> Labels: pull-request-available
> Fix For: avatica-1.18.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> DatabaseMetaData.getTables(), and some other functions have parameters (catalog, schemaPattern), where null and empty String have different semantics.
> The corresponding protobuf fields in Avatica are Strings, and the Avatica logic turns those args to null.
> This makes it impossible to filter on actual empty string values.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)