[
https://issues.apache.org/jira/browse/PHOENIX-1930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14517419#comment-14517419
]
James Taylor commented on PHOENIX-1930:
---------------------------------------
[~shuxi0ng] - thanks for the patch, but I already fixed the issue. It's not a
performance concern, but a backwards compatibility issue. We send the ordinal
in the ExpressionType enum from the client to the server to identify the
built-in function. Thus, when new built-in functions are added, they should
always be added to the end of the ExpressionType enum. Otherwise an old client
(say 4.3.1) running against a new server (4.4.0) will send across the ordinal,
but because a new built-in was added in the middle of the enum, all built-in
functions after that will be misidentified.
> [BW COMPAT] Queries hangs with client on Phoenix 4.3.0 and server on
> 4.x-HBase-0.98
> -----------------------------------------------------------------------------------
>
> Key: PHOENIX-1930
> URL: https://issues.apache.org/jira/browse/PHOENIX-1930
> Project: Phoenix
> Issue Type: Bug
> Reporter: Mujtaba Chohan
> Assignee: James Taylor
> Fix For: 5.0.0, 4.4.0
>
> Attachments: PHOENIX-1930.2.patch, PHOENIX-1930.patch
>
>
> After
> https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=commit;h=52b0f23dc3bfb4cd3d26b12baad0346165de0c66
> commit (client using Phoenix v4.3.0 and server on or after the specified
> commit), Sqlline just hangs (i.e. almost hangs, it's extremely slow, query
> does get finally executed but it takes 1000+ seconds) while executing any
> query and there is no associated log/exception on any region server.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)