You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Samarth Jain (JIRA)" <ji...@apache.org> on 2015/12/10 23:25:11 UTC

[jira] [Commented] (PHOENIX-2512) Disallow a user specified ROW_TIMESTAMP value if the connection has an SCN

    [ https://issues.apache.org/jira/browse/PHOENIX-2512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15051762#comment-15051762 ] 

Samarth Jain commented on PHOENIX-2512:
---------------------------------------

[~jamestaylor] - can you tell me more about why you want to disallow user specified values in case of SCN? Is it because the cells could be created with timestamp potentially at a time later/before the SCN? Would that be a bad thing? To be clear, this wasn't an oversight and by design. I specifically added tests in UpsertValuesIT (ex - testWithUpsertingRowTimestampColSpecified) that test this specific behavior.

> Disallow a user specified ROW_TIMESTAMP value if the connection has an SCN
> --------------------------------------------------------------------------
>
>                 Key: PHOENIX-2512
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2512
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: Samarth Jain
>            Priority: Minor
>
> If a connection has an SCN specified, we should throw a SQLException if the user specifies a value for the ROW_TIMESTAMP column.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)