[jira] [Commented] (PHOENIX-4283) Group By statement truncating BIGINTs

2017-10-13 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-4283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16204449#comment-16204449 ] James Taylor commented on PHOENIX-4283: --- The coercion is done on types that don't

[jira] [Comment Edited] (PHOENIX-4283) Group By statement truncating BIGINTs

2017-10-13 Thread Ethan Wang (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-4283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16204396#comment-16204396 ] Ethan Wang edited comment on PHOENIX-4283 at 10/14/17 1:27 AM: ---

[jira] [Comment Edited] (PHOENIX-4283) Group By statement truncating BIGINTs

2017-10-13 Thread Ethan Wang (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-4283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16204396#comment-16204396 ] Ethan Wang edited comment on PHOENIX-4283 at 10/14/17 1:08 AM: ---

[jira] [Comment Edited] (PHOENIX-4283) Group By statement truncating BIGINTs

2017-10-13 Thread Ethan Wang (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-4283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16204396#comment-16204396 ] Ethan Wang edited comment on PHOENIX-4283 at 10/14/17 1:04 AM: ---

[jira] [Commented] (PHOENIX-4283) Group By statement truncating BIGINTs

2017-10-13 Thread Ethan Wang (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-4283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16204396#comment-16204396 ] Ethan Wang commented on PHOENIX-4283: - So in the GroupbyCompiler, when nested groupb

Re: [DISCUSS] Road to HBase 2.0.0

2017-10-13 Thread Sergey Soldatov
There is a list of problems that we need to fix to get it working with HBase 2.0: 1. renamed methods (such as add => addColumn). That's the easiest to fix 2. removed interfaces such as HTableInterface. We are supposed to use Table now. That may lead to some small difference between branches. Becaus

[jira] [Commented] (PHOENIX-4283) Group By statement truncating BIGINTs

2017-10-13 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-4283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16204235#comment-16204235 ] James Taylor commented on PHOENIX-4283: --- Ok, good to know. Hopefully it's an easy

Re: [DISCUSS] Road to HBase 2.0.0

2017-10-13 Thread James Taylor
One idea of where to put the code: - switch to using non deprecated HBase methods in master - same for Tephra - create a 5.0-HBase-2.0 branch to put code specific to getting Phoenix to work against HBase 2.0 - take a look at the changes and see if a shim layer makes sense (I'm only -1 on an HBase 0

[jira] [Commented] (PHOENIX-4283) Group By statement truncating BIGINTs

2017-10-13 Thread Steven Sadowski (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-4283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16204229#comment-16204229 ] Steven Sadowski commented on PHOENIX-4283: -- Yeah, we're using that work-around

[jira] [Commented] (PHOENIX-4287) Incorrect aggregate query results when stats are disable for parallelization

2017-10-13 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-4287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16204227#comment-16204227 ] James Taylor commented on PHOENIX-4287: --- count( * ) uses the index because it's sm

[jira] [Assigned] (PHOENIX-4283) Group By statement truncating BIGINTs

2017-10-13 Thread Ethan Wang (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-4283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ethan Wang reassigned PHOENIX-4283: --- Assignee: Ethan Wang > Group By statement truncating BIGINTs >

[jira] [Comment Edited] (PHOENIX-4287) Incorrect aggregate query results when stats are disable for parallelization

2017-10-13 Thread Ethan Wang (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-4287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16204220#comment-16204220 ] Ethan Wang edited comment on PHOENIX-4287 at 10/13/17 9:28 PM: ---

[jira] [Commented] (PHOENIX-4287) Incorrect aggregate query results when stats are disable for parallelization

2017-10-13 Thread Ethan Wang (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-4287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16204220#comment-16204220 ] Ethan Wang commented on PHOENIX-4287: - Count(*) should always count on pk correct? i

[jira] [Updated] (PHOENIX-4283) Group By statement truncating BIGINTs

2017-10-13 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-4283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Taylor updated PHOENIX-4283: -- Fix Version/s: 4.12.1 > Group By statement truncating BIGINTs > --

[jira] [Commented] (PHOENIX-4283) Group By statement truncating BIGINTs

2017-10-13 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-4283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16204219#comment-16204219 ] James Taylor commented on PHOENIX-4283: --- [~aertoria] - would you have some cycles

[jira] [Commented] (PHOENIX-4287) Incorrect aggregate query results when stats are disable for parallelization

2017-10-13 Thread Mujtaba Chohan (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-4287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16204204#comment-16204204 ] Mujtaba Chohan commented on PHOENIX-4287: - Results are incorrect for filter on l

[jira] [Assigned] (PHOENIX-4287) Incorrect aggregate query results when stats are disable for parallelization

2017-10-13 Thread Mujtaba Chohan (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-4287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mujtaba Chohan reassigned PHOENIX-4287: --- Assignee: Samarth Jain > Incorrect aggregate query results when stats are disable f

[jira] [Created] (PHOENIX-4287) Incorrect aggregate query results when stats are disable for parallelization

2017-10-13 Thread Mujtaba Chohan (JIRA)
Mujtaba Chohan created PHOENIX-4287: --- Summary: Incorrect aggregate query results when stats are disable for parallelization Key: PHOENIX-4287 URL: https://issues.apache.org/jira/browse/PHOENIX-4287

[jira] [Updated] (PHOENIX-4280) Delete doesn't work when immutable indexes are in building state

2017-10-13 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-4280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Taylor updated PHOENIX-4280: -- Attachment: PHOENIX-4280_wip.patch > Delete doesn't work when immutable indexes are in buildin

[jira] [Commented] (PHOENIX-4242) Fix Indexer post-compact hook logging of NPE and TableNotFound

2017-10-13 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-4242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16203949#comment-16203949 ] James Taylor commented on PHOENIX-4242: --- My recommendation would be to have a sepa

[jira] [Commented] (PHOENIX-4237) Allow sorting on (Java) collation keys for non-English locales

2017-10-13 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-4237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16203947#comment-16203947 ] ASF GitHub Bot commented on PHOENIX-4237: - Github user JamesRTaylor commented on

[GitHub] phoenix pull request #275: PHOENIX-4237: Add function to calculate Java coll...

2017-10-13 Thread JamesRTaylor
Github user JamesRTaylor commented on a diff in the pull request: https://github.com/apache/phoenix/pull/275#discussion_r144620511 --- Diff: phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java --- @@ -0,0 +1,233 @@ +package org.apache.ph

[jira] [Commented] (PHOENIX-4237) Allow sorting on (Java) collation keys for non-English locales

2017-10-13 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-4237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16203839#comment-16203839 ] ASF GitHub Bot commented on PHOENIX-4237: - Github user shehzaadn-vd commented on

[GitHub] phoenix pull request #275: PHOENIX-4237: Add function to calculate Java coll...

2017-10-13 Thread shehzaadn-vd
Github user shehzaadn-vd commented on a diff in the pull request: https://github.com/apache/phoenix/pull/275#discussion_r144604412 --- Diff: phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java --- @@ -0,0 +1,233 @@ +package org.apache.ph

[jira] [Commented] (PHOENIX-4237) Allow sorting on (Java) collation keys for non-English locales

2017-10-13 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-4237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16203799#comment-16203799 ] ASF GitHub Bot commented on PHOENIX-4237: - Github user JamesRTaylor commented on

[GitHub] phoenix pull request #275: PHOENIX-4237: Add function to calculate Java coll...

2017-10-13 Thread JamesRTaylor
Github user JamesRTaylor commented on a diff in the pull request: https://github.com/apache/phoenix/pull/275#discussion_r144600094 --- Diff: phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java --- @@ -0,0 +1,233 @@ +package org.apache.ph

Spark dataframe returning only structure when connected to Phoenix query server

2017-10-13 Thread Anjan K
Hi All, I am connecting to hbase ( ver 1.2) via phoenix (4.11) queryserver from Spark 2.2.0, but the dataframe is returning the only table structure with empty rows thoug data is present in table. Here is the code I am using to connect to queryserver. // ---jar phoenix-4.11.0-HBase-1.2-th

Re: [DISCUSS] Road to HBase 2.0.0

2017-10-13 Thread Josh Elser
Thanks, Anoop! I know Sergey, Ankit, and Rajeshbabu have been looking at this already. While tracking it is good, I think we still need to come up with a plan for where we're going to put that new code in Phoenix :) On 10/13/17 6:58 AM, Anoop John wrote: Thanks for bringing this up. I was a

Re: [DISCUSS] Road to HBase 2.0.0

2017-10-13 Thread Anoop John
Thanks for bringing this up. I was abt to ask this. Ya the CP framework itself and the CP exposed interfaces (Like RegionServerServices, Region etc) are undergoing a big change for for HBase 2.0.. I did a look at some of the usages of the Phoenix exposed interfaces/classes. There are some item

[jira] [Commented] (PHOENIX-4198) Remove the need for users to have access to the Phoenix SYSTEM tables to create tables

2017-10-13 Thread Ankit Singhal (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-4198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16203162#comment-16203162 ] Ankit Singhal commented on PHOENIX-4198: Ping [~giacomotaylor] and [~tdsilva] >

[GitHub] phoenix pull request #275: PHOENIX-4237: Add function to calculate Java coll...

2017-10-13 Thread snakhoda-sfdc
Github user snakhoda-sfdc commented on a diff in the pull request: https://github.com/apache/phoenix/pull/275#discussion_r144483837 --- Diff: phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java --- @@ -0,0 +1,233 @@ +package org.apache.p

[jira] [Commented] (PHOENIX-4237) Allow sorting on (Java) collation keys for non-English locales

2017-10-13 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-4237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16203159#comment-16203159 ] ASF GitHub Bot commented on PHOENIX-4237: - Github user snakhoda-sfdc commented o