[jira] [Created] (PHOENIX-7349) Improve the error messaging when CDC index is not yet active

2024-06-28 Thread Hari Krishna Dara (Jira)
Hari Krishna Dara created PHOENIX-7349:
--

 Summary: Improve the error messaging when CDC index is not yet 
active
 Key: PHOENIX-7349
 URL: https://issues.apache.org/jira/browse/PHOENIX-7349
 Project: Phoenix
  Issue Type: Sub-task
Reporter: Hari Krishna Dara


A query against CDC with index in building state, you get the below cryptic 
error:
{quote}Error: ERROR 2014 (INT16): Row Value Constructor Offset Not Coercible to 
a Primary or Indexed RowKey. No table or index could be coerced to the PK as 
the offset. Or an uncovered index was attempted (state=INT16,code=2014)
{quote}
This situation doesn't happen for regular queries because such indexes get 
silently dropped.

 

We need to ensure a more meaningful message in this case.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (PHOENIX-7348) Default INCLUDE scopes given in CREATE CDC are not getting recognized

2024-06-28 Thread Hari Krishna Dara (Jira)


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

Hari Krishna Dara updated PHOENIX-7348:
---
Summary: Default INCLUDE scopes given in CREATE CDC are not getting 
recognized  (was: Default INCLUDE scopes gives in CREATE CDC are not getting 
recognized)

> Default INCLUDE scopes given in CREATE CDC are not getting recognized
> -
>
> Key: PHOENIX-7348
> URL: https://issues.apache.org/jira/browse/PHOENIX-7348
> Project: Phoenix
>  Issue Type: Bug
>Reporter: Hari Krishna Dara
>Assignee: Hari Krishna Dara
>Priority: Minor
>
> The CREATE CDC statement allows specifying a default for the change image 
> scopes which should get used when there is no query hint, but this value is 
> not getting used. There is also no test to catch this issue.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)