phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suhas Nalapure (JIRA)" <>
Subject [jira] [Created] (PHOENIX-3636) CurrentSCN doesn't work with phoenix-spark plugin
Date Wed, 25 Jan 2017 06:49:26 GMT
Suhas Nalapure created PHOENIX-3636:

             Summary: CurrentSCN doesn't work with phoenix-spark plugin
                 Key: PHOENIX-3636
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 4.6.0
            Reporter: Suhas Nalapure

Specifying CurrentSCN property while creating a Spark DataFrame as shown below doesn't give
the expected results.

E.g. below code doesn't return those records from Hbase that have row timestamp > current
system timestamp  

Map<String, String> params = new HashMap<String, String>();
params.put("table", tableName);
params.put("zkUrl", zkUrl);
Calendar cal = Calendar.getInstance();
cal.set(2017, 3, 15);
params.put("CurrentSCN", Long.toString(cal.getTime().getTime()));
			df =;

This message was sent by Atlassian JIRA

View raw message