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

Rajeshbabu Chintaguntla updated PHOENIX-7131:
---------------------------------------------
    Fix Version/s:     (was: 5.2.0)
                       (was: 5.1.4)

> Honor omid.server.side.filter configuration while creating Omid Transactional 
> Table
> -----------------------------------------------------------------------------------
>
>                 Key: PHOENIX-7131
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7131
>             Project: Phoenix
>          Issue Type: New Feature
>            Reporter: Rajeshbabu Chintaguntla
>            Assignee: Rajeshbabu Chintaguntla
>            Priority: Major
>
> Currently by default we are passing server side filter to be used as true 
> always would be better to honor the configuration value of 
> omid.server.side.filter while creating Omid TTable
> {noformat}
>     public OmidTransactionTable(PhoenixTransactionContext ctx, Table hTable, 
> boolean isConflictFree, boolean addShadowCells) throws SQLException  {
>        ....
>         try {
>             tTable = new TTable(hTable, true, isConflictFree);
>         } catch (IOException e) {
>        ....
>     }
> {noformat}
> Would be better to use following constructor
> {noformat}
>     public TTable(Table hTable, boolean conflictFree) throws IOException {
>         this(hTable, 
> hTable.getConfiguration().getBoolean("omid.server.side.filter", false), 
> conflictFree);
>     }
> {noformat}



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

Reply via email to