You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2020/07/25 09:05:00 UTC
[jira] [Updated] (PHOENIX-6003) Metadata operations via Avatica
turn empty string args to null
[ https://issues.apache.org/jira/browse/PHOENIX-6003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Istvan Toth updated PHOENIX-6003:
---------------------------------
Summary: Metadata operations via Avatica turn empty string args to null (was: Metadata operations via Avatica lose functionality)
> Metadata operations via Avatica turn empty string args to null
> --------------------------------------------------------------
>
> Key: PHOENIX-6003
> URL: https://issues.apache.org/jira/browse/PHOENIX-6003
> Project: Phoenix
> Issue Type: Bug
> Components: queryserver
> Affects Versions: queryserver-6.0.0
> Reporter: Istvan Toth
> Assignee: Istvan Toth
> Priority: Major
>
> PhoenixDatabaseMetaData.getTables(), and some other functions have parameters (catalog, schemaPattern), where null and empty String have different semantics.
> The corresponding protobuf fields in Avatica are not nullable, and PQS seems to interpret empty string as Null, making it impossible to get the default catalog/schema only.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)