[
https://issues.apache.org/jira/browse/PHOENIX-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13963465#comment-13963465
]
Prashant Kommireddi commented on PHOENIX-907:
---------------------------------------------
There's a bug with PHOENIX-898
{code}
String columns = locationURI.getPath().substring(1);
{code}
getPath() in the above would return a non-empty string only when columns are
specified. We must not assume each store query must come in with columns
specified as that breaks how the original functionality behaved, which is the
right behavior in any case. I will create a fix and upload a patch.
> Add a basic unit test for writing data to a Phoenix table via Pig
> (PhoenixHBaseStorage)
> ---------------------------------------------------------------------------------------
>
> Key: PHOENIX-907
> URL: https://issues.apache.org/jira/browse/PHOENIX-907
> Project: Phoenix
> Issue Type: Sub-task
> Affects Versions: 3.0.0, 4.0.0
> Reporter: Prashant Kommireddi
> Fix For: 4.0.0
>
> Attachments: PHOENIX-907.patch
>
>
> Creating this sub-task to track the test case that verifies writes to phoenix
> table via Pig are happening correctly. The idea is also for developers
> touching PhoenixHBaseStorage or implementing similar Load/Store func to rely
> on this test case as an example.
--
This message was sent by Atlassian JIRA
(v6.2#6252)