[jira] [Resolved] (PHOENIX-3398) ROW_TIMESTAMP set in CONSTRAINT field does not set isRowTimestamp in ColumnDef

2016-10-22 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Taylor resolved PHOENIX-3398. --- Resolution: Invalid This is working as designed, as the isRowTimestamp is stored in the

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598934#comment-15598934 ] Kevin Liew commented on PHOENIX-476: I filed PHOENIX-3397 for that. Also, PHOENIX-3398 regarding

[jira] [Created] (PHOENIX-3398) ROW_TIMESTAMP set in CONSTRAINT field does not set isRowTimestamp in ColumnDef

2016-10-22 Thread Kevin Liew (JIRA)
Kevin Liew created PHOENIX-3398: --- Summary: ROW_TIMESTAMP set in CONSTRAINT field does not set isRowTimestamp in ColumnDef Key: PHOENIX-3398 URL: https://issues.apache.org/jira/browse/PHOENIX-3398

[jira] [Created] (PHOENIX-3397) Compiled ARRAY date-time literals cannot be parsed as literals

2016-10-22 Thread Kevin Liew (JIRA)
Kevin Liew created PHOENIX-3397: --- Summary: Compiled ARRAY date-time literals cannot be parsed as literals Key: PHOENIX-3397 URL: https://issues.apache.org/jira/browse/PHOENIX-3397 Project: Phoenix

[jira] [Commented] (PHOENIX-3390) Custom UDAF for HyperLogLogPlus

2016-10-22 Thread Swapna Kasula (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598761#comment-15598761 ] Swapna Kasula commented on PHOENIX-3390: The function APPROX_SUM is very similar to the existing

[jira] [Updated] (PHOENIX-3390) Custom UDAF for HyperLogLogPlus

2016-10-22 Thread Swapna Kasula (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Swapna Kasula updated PHOENIX-3390: --- Description: With ref # PHOENIX-2069 Custome UDAF to aggregate/union of Hyperloglog's of a

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598665#comment-15598665 ] James Taylor commented on PHOENIX-476: -- Still sounds like a bug lurking here, but it doesn't need to

[jira] [Comment Edited] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598651#comment-15598651 ] Kevin Liew edited comment on PHOENIX-476 at 10/22/16 11:08 PM: --- I got it

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598651#comment-15598651 ] Kevin Liew commented on PHOENIX-476: I got it working. With the recent changes, we access the context

[jira] [Commented] (PHOENIX-3390) Custom UDAF for HyperLogLogPlus

2016-10-22 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598645#comment-15598645 ] James Taylor commented on PHOENIX-3390: --- The way I think this could be more generally exposed is

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598637#comment-15598637 ] James Taylor commented on PHOENIX-476: -- Good find. Please file a separate JIRA for that and don't

[jira] [Comment Edited] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598382#comment-15598382 ] Kevin Liew edited comment on PHOENIX-476 at 10/22/16 7:52 PM: -- We compile

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598382#comment-15598382 ] Kevin Liew commented on PHOENIX-476: We compile the string to an expression contained in a ColumnDef.

[jira] [Updated] (PHOENIX-3390) Custom UDAF for HyperLogLogPlus

2016-10-22 Thread Swapna Kasula (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Swapna Kasula updated PHOENIX-3390: --- Description: With ref # PHOENIX-2069 Custome UDAF to aggregate/union of Hyperloglog's of a

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598342#comment-15598342 ] James Taylor commented on PHOENIX-476: -- Looks correct - you can verify by using a SELECT statement

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598326#comment-15598326 ] Kevin Liew commented on PHOENIX-476: The byte coercion fix for data types also fixed byte coercion

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598316#comment-15598316 ] Hadoop QA commented on PHOENIX-476: --- {color:red}-1 overall{color}. Here are the results of testing the

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598313#comment-15598313 ] James Taylor commented on PHOENIX-476: -- Is anything special required for array support? > Support

[jira] [Comment Edited] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598280#comment-15598280 ] Kevin Liew edited comment on PHOENIX-476 at 10/22/16 6:36 PM: -- Thanks James,

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598280#comment-15598280 ] Kevin Liew commented on PHOENIX-476: Thanks James, that works. > Support declaration of DEFAULT in

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598264#comment-15598264 ] James Taylor commented on PHOENIX-476: -- Scratch that - it's not going to work to have a null

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598256#comment-15598256 ] James Taylor commented on PHOENIX-476: -- I see - yes that'll still be a problem. Try this to create a

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598254#comment-15598254 ] Hadoop QA commented on PHOENIX-476: --- {color:red}-1 overall{color}. Here are the results of testing the

[jira] [Comment Edited] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598242#comment-15598242 ] Kevin Liew edited comment on PHOENIX-476 at 10/22/16 6:10 PM: -- Oops, sorry I

[jira] [Updated] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Liew updated PHOENIX-476: --- Attachment: (was: PHOENIX-476.8.patch) > Support declaration of DEFAULT in CREATE statement >

[jira] [Updated] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Liew updated PHOENIX-476: --- Attachment: PHOENIX-476.8.patch > Support declaration of DEFAULT in CREATE statement >

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598242#comment-15598242 ] Kevin Liew commented on PHOENIX-476: Oops, sorry I had to reset my environment so the patch is messy

[jira] [Updated] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Liew updated PHOENIX-476: --- Attachment: PHOENIX-476.8.patch I attached what I have so far. I debugged to ensure that

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598232#comment-15598232 ] James Taylor commented on PHOENIX-476: -- So for this to work, in CreateTableCompiler, after you

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598230#comment-15598230 ] Kevin Liew commented on PHOENIX-476: That's what I did, but the literal `-100` fails to parse as a

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598225#comment-15598225 ] James Taylor commented on PHOENIX-476: -- No parser changes are required: -In CreateTableCompiler,

[jira] [Comment Edited] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598225#comment-15598225 ] James Taylor edited comment on PHOENIX-476 at 10/22/16 5:53 PM: No parser

[jira] [Comment Edited] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15597332#comment-15597332 ] Kevin Liew edited comment on PHOENIX-476 at 10/22/16 5:30 PM: -- Hi

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598196#comment-15598196 ] Kevin Liew commented on PHOENIX-476: One possible solution is to create a second parser class

[jira] [Comment Edited] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15597332#comment-15597332 ] Kevin Liew edited comment on PHOENIX-476 at 10/22/16 5:17 PM: -- Hi

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-10-22 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15597332#comment-15597332 ] Kevin Liew commented on PHOENIX-476: Hi [~jamestaylor], I made the suggested changes to recreate the