[ 
https://issues.apache.org/jira/browse/PHOENIX-4772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ankit Singhal updated PHOENIX-4772:
-----------------------------------
    Description: 
Expectation: First connection should have created 'SYSTEM.SEQUENCE' with salt 
bucket=10 
{code:java}
<property>
<name>phoenix.sequence.saltBuckets</name>
<value>10</value>
</property>{code}
but this property is not getting honoured and table is created with 0 salt 
bucket.

0: jdbc:phoenix:> select SALT_BUCKETS from system.catalog where table_name 
='SEQUENCE' and column_name is null;
 +---------------+
|SALT_BUCKETS|

+---------------+
|null|

+---------------

+

And, enable KEEP_DELETED_CELLS for point in time sequences.

  was:
Expectation: First connection should have created 'SYSTEM.SEQUENCE' with salt 
bucket=10 
{code:java}
<property>
<name>phoenix.sequence.saltBuckets</name>
<value>10</value>
</property>{code}
but this property is not getting honoured and table is created with 0 salt 
bucket.

0: jdbc:phoenix:> select SALT_BUCKETS from system.catalog where table_name 
='SEQUENCE' and column_name is null;
+---------------+
| SALT_BUCKETS |
+---------------+
| null |
+---------------+


> phoenix.sequence.saltBuckets is not honoured.
> ---------------------------------------------
>
>                 Key: PHOENIX-4772
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4772
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Ankit Singhal
>            Assignee: Ankit Singhal
>            Priority: Major
>             Fix For: 4.14.0, 5.0.0
>
>         Attachments: PHOENIX-4772.patch
>
>
> Expectation: First connection should have created 'SYSTEM.SEQUENCE' with salt 
> bucket=10 
> {code:java}
> <property>
> <name>phoenix.sequence.saltBuckets</name>
> <value>10</value>
> </property>{code}
> but this property is not getting honoured and table is created with 0 salt 
> bucket.
> 0: jdbc:phoenix:> select SALT_BUCKETS from system.catalog where table_name 
> ='SEQUENCE' and column_name is null;
>  +---------------+
> |SALT_BUCKETS|
> +---------------+
> |null|
> +---------------
> +
> And, enable KEEP_DELETED_CELLS for point in time sequences.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to