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

Xu Yao updated KUDU-2447:
-------------------------
    Description: 
tserver crashes on Scan when [lowerPrimaryKey, upperPrimary) and predicates of 
primary column do not overlap.

Example of table in TestScannerMultiTablet unittest, The table like this:
{code:java}
key1 (string) | key2 (string) | value (string){code}
The data layout ends up like this:
{code:java}
tablet '', '1': no rows
tablet '1', '2': '111', '122', '133'
tablet '2', '3': '211', '222', '233'
tablet '3', '': '311', '322', '333'{code}
add Scan PrimaryKeyBounds: ['12', '13')

add Scan Predicate: key2 <= '1'

Run the example, ts will crash, and print "NONE predicate can not be pushed 
into key"

 

 

  was:
tserver carashes on Scan when [lowerPrimaryKey, upperPrimary) and predicates of 
primary column do not overlap.

Example of table in TestScannerMultiTablet unittest, The table like this:
{code:java}
key1 (string) | key2 (string) | value (string){code}
The data layout ends up like this:
{code:java}
tablet '', '1': no rows
tablet '1', '2': '111', '122', '133'
tablet '2', '3': '211', '222', '233'
tablet '3', '': '311', '322', '333'{code}
add Scan PrimaryKeyBounds: ['12', '13')

add Scan Predicate: key2 <= '1'

Run the example, ts will crash, and print "NONE predicate can not be pushed 
into key"

 

 


> TS crashed with "NONE predicate can not be pushed into key"
> -----------------------------------------------------------
>
>                 Key: KUDU-2447
>                 URL: https://issues.apache.org/jira/browse/KUDU-2447
>             Project: Kudu
>          Issue Type: Bug
>            Reporter: Xu Yao
>            Priority: Major
>              Labels: scan
>
> tserver crashes on Scan when [lowerPrimaryKey, upperPrimary) and predicates 
> of primary column do not overlap.
> Example of table in TestScannerMultiTablet unittest, The table like this:
> {code:java}
> key1 (string) | key2 (string) | value (string){code}
> The data layout ends up like this:
> {code:java}
> tablet '', '1': no rows
> tablet '1', '2': '111', '122', '133'
> tablet '2', '3': '211', '222', '233'
> tablet '3', '': '311', '322', '333'{code}
> add Scan PrimaryKeyBounds: ['12', '13')
> add Scan Predicate: key2 <= '1'
> Run the example, ts will crash, and print "NONE predicate can not be pushed 
> into key"
>  
>  



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

Reply via email to