phoenix git commit: PHOENIX-1571 Replace hard-coded date
Repository: phoenix Updated Branches: refs/heads/4.2 77c89b084 - 225530326 PHOENIX-1571 Replace hard-coded date Replace a far away future hard-coded date in an integration test with something that is no longer in the past. Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/22553032 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/22553032 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/22553032 Branch: refs/heads/4.2 Commit: 2255303267ff664d584aa3b80104f6e5755384a0 Parents: 77c89b0 Author: Gabriel Reid gabri...@ngdata.com Authored: Fri Jan 2 08:14:15 2015 +0100 Committer: James Taylor jtay...@salesforce.com Committed: Mon Jan 5 09:59:44 2015 -0800 -- .../java/org/apache/phoenix/end2end/VariableLengthPKIT.java | 8 1 file changed, 4 insertions(+), 4 deletions(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/22553032/phoenix-core/src/it/java/org/apache/phoenix/end2end/VariableLengthPKIT.java -- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/VariableLengthPKIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/VariableLengthPKIT.java index 07d6b32..e836fec 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/VariableLengthPKIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/VariableLengthPKIT.java @@ -266,7 +266,7 @@ public class VariableLengthPKIT extends BaseClientManagedTimeIT { @Test public void testSkipScan() throws Exception { long ts = nextTimestamp(); -String query = SELECT HOST FROM PTSDB WHERE INST='abc' AND DATE=TO_DATE('1970-01-01 00:00:00') AND DATE TO_DATE('2015-01-01 00:00:00'); +String query = SELECT HOST FROM PTSDB WHERE INST='abc' AND DATE=TO_DATE('1970-01-01 00:00:00') AND DATE TO_DATE('2171-01-01 00:00:00'); String url = getUrl() + ; + PhoenixRuntime.CURRENT_SCN_ATTRIB + = + (ts + 5); // Run query at timestamp 5 Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES); Connection conn = DriverManager.getConnection(url, props); @@ -776,7 +776,7 @@ public class VariableLengthPKIT extends BaseClientManagedTimeIT { } conn.commit(); conn.close(); - + // Query at a time after the upsert to confirm they took place props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts+1)); conn = DriverManager.getConnection(getUrl(), props); @@ -1378,7 +1378,7 @@ public class VariableLengthPKIT extends BaseClientManagedTimeIT { String ddl = create table t (k INTEGER NOT NULL PRIMARY KEY, name VARCHAR); conn.createStatement().execute(ddl); conn.close(); - + String dml = upsert into t values(?,?); props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts+2)); conn = DriverManager.getConnection(url, props); @@ -1391,7 +1391,7 @@ public class VariableLengthPKIT extends BaseClientManagedTimeIT { } conn.commit(); conn.close(); - + // This matches what Oracle returns for regexp_substr, even through // it seems oke for satax, it should return null. String query = select regexp_substr(name,'[^s]+',1) from t limit 5;
phoenix git commit: PHOENIX-1571 Replace hard-coded date
Repository: phoenix Updated Branches: refs/heads/3.2 0b975affb - c8065c9d5 PHOENIX-1571 Replace hard-coded date Replace a far away future hard-coded date in an integration test with something that is no longer in the past. Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/c8065c9d Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/c8065c9d Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/c8065c9d Branch: refs/heads/3.2 Commit: c8065c9d5b6870c37fac933adc8741d3e6e54f0a Parents: 0b975af Author: Gabriel Reid gabri...@ngdata.com Authored: Fri Jan 2 08:14:15 2015 +0100 Committer: James Taylor jtay...@salesforce.com Committed: Mon Jan 5 10:05:07 2015 -0800 -- .../java/org/apache/phoenix/end2end/VariableLengthPKIT.java | 8 1 file changed, 4 insertions(+), 4 deletions(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/c8065c9d/phoenix-core/src/it/java/org/apache/phoenix/end2end/VariableLengthPKIT.java -- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/VariableLengthPKIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/VariableLengthPKIT.java index 07d6b32..e836fec 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/VariableLengthPKIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/VariableLengthPKIT.java @@ -266,7 +266,7 @@ public class VariableLengthPKIT extends BaseClientManagedTimeIT { @Test public void testSkipScan() throws Exception { long ts = nextTimestamp(); -String query = SELECT HOST FROM PTSDB WHERE INST='abc' AND DATE=TO_DATE('1970-01-01 00:00:00') AND DATE TO_DATE('2015-01-01 00:00:00'); +String query = SELECT HOST FROM PTSDB WHERE INST='abc' AND DATE=TO_DATE('1970-01-01 00:00:00') AND DATE TO_DATE('2171-01-01 00:00:00'); String url = getUrl() + ; + PhoenixRuntime.CURRENT_SCN_ATTRIB + = + (ts + 5); // Run query at timestamp 5 Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES); Connection conn = DriverManager.getConnection(url, props); @@ -776,7 +776,7 @@ public class VariableLengthPKIT extends BaseClientManagedTimeIT { } conn.commit(); conn.close(); - + // Query at a time after the upsert to confirm they took place props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts+1)); conn = DriverManager.getConnection(getUrl(), props); @@ -1378,7 +1378,7 @@ public class VariableLengthPKIT extends BaseClientManagedTimeIT { String ddl = create table t (k INTEGER NOT NULL PRIMARY KEY, name VARCHAR); conn.createStatement().execute(ddl); conn.close(); - + String dml = upsert into t values(?,?); props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts+2)); conn = DriverManager.getConnection(url, props); @@ -1391,7 +1391,7 @@ public class VariableLengthPKIT extends BaseClientManagedTimeIT { } conn.commit(); conn.close(); - + // This matches what Oracle returns for regexp_substr, even through // it seems oke for satax, it should return null. String query = select regexp_substr(name,'[^s]+',1) from t limit 5;
svn commit: r1649634 [3/3] - in /phoenix/site: publish/ publish/language/ source/src/site/ source/src/site/markdown/
Modified: phoenix/site/publish/views.html URL: http://svn.apache.org/viewvc/phoenix/site/publish/views.html?rev=1649634r1=1649633r2=1649634view=diff == --- phoenix/site/publish/views.html (original) +++ phoenix/site/publish/views.html Mon Jan 5 19:58:17 2015 @@ -1,7 +1,7 @@ !DOCTYPE html !-- - Generated by Apache Maven Doxia at 2014-12-27 + Generated by Apache Maven Doxia at 2015-01-05 Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin) -- html xml:lang=en lang=en @@ -55,15 +55,16 @@ li a href=roadmap.html title=RoadmapRoadmap/a/li li a href=performance.html title=PerformancePerformance/a/li li a href=team.html title=TeamTeam/a/li - li a href=contributing.html title=ContributingContributing/a/li li a href=resources.html title=ResourcesResources/a/li li a href=mailing_list.html title=Mailing ListsMailing Lists/a/li li a href=source.html title=Source RepositorySource Repository/a/li li a href=issues.html title=Issue TrackingIssue Tracking/a/li li a href=download.html title=DownloadDownload/a/li li class=divider/ - li a href=release.html title=How to releaseHow to release/a/li - li a href=building_website.html title=How to update websiteHow to update website/a/li + li a href=contributing.html title=How to ContributeHow to Contribute/a/li + li a href=develop.html title=How to DevelopHow to Develop/a/li + li a href=building_website.html title=How to Update WebsiteHow to Update Website/a/li + li a href=release.html title=How to ReleaseHow to Release/a/li li class=divider/ li a href=http://www.apache.org/licenses/; title=License class=externalLinkLicense/a/li li a href=http://www.apache.org/foundation/sponsorship.html; title=Sponsorship class=externalLinkSponsorship/a/li @@ -219,9 +220,6 @@ VALUES('John Doe', CURRENT_DATE(), NEXT a href=team.html title=TeamTeam/a /li li - a href=contributing.html title=ContributingContributing/a - /li - li a href=resources.html title=ResourcesResources/a /li li @@ -240,10 +238,16 @@ VALUES('John Doe', CURRENT_DATE(), NEXT a href=http:divider title=/a /li li - a href=release.html title=How to releaseHow to release/a + a href=contributing.html title=How to ContributeHow to Contribute/a + /li + li + a href=develop.html title=How to DevelopHow to Develop/a + /li + li + a href=building_website.html title=How to Update WebsiteHow to Update Website/a /li li - a
svn commit: r1649634 [2/3] - in /phoenix/site: publish/ publish/language/ source/src/site/ source/src/site/markdown/
Modified: phoenix/site/publish/language/index.html URL: http://svn.apache.org/viewvc/phoenix/site/publish/language/index.html?rev=1649634r1=1649633r2=1649634view=diff == --- phoenix/site/publish/language/index.html (original) +++ phoenix/site/publish/language/index.html Mon Jan 5 19:58:17 2015 @@ -1,7 +1,7 @@ !DOCTYPE html !-- - Generated by Apache Maven Doxia at 2014-12-27 + Generated by Apache Maven Doxia at 2015-01-05 Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin) -- html xml:lang=en lang=en @@ -55,15 +55,16 @@ li a href=../roadmap.html title=RoadmapRoadmap/a/li li a href=../performance.html title=PerformancePerformance/a/li li a href=../team.html title=TeamTeam/a/li - li a href=../contributing.html title=ContributingContributing/a/li li a href=../resources.html title=ResourcesResources/a/li li a href=../mailing_list.html title=Mailing ListsMailing Lists/a/li li a href=../source.html title=Source RepositorySource Repository/a/li li a href=../issues.html title=Issue TrackingIssue Tracking/a/li li a href=../download.html title=DownloadDownload/a/li li class=divider/ - li a href=../release.html title=How to releaseHow to release/a/li - li a href=../building_website.html title=How to update websiteHow to update website/a/li + li a href=../contributing.html title=How to ContributeHow to Contribute/a/li + li a href=../develop.html title=How to DevelopHow to Develop/a/li + li a href=../building_website.html title=How to Update WebsiteHow to Update Website/a/li + li a href=../release.html title=How to ReleaseHow to Release/a/li li class=divider/ li a href=http://www.apache.org/licenses/; title=License class=externalLinkLicense/a/li li a href=http://www.apache.org/foundation/sponsorship.html; title=Sponsorship class=externalLinkSponsorship/a/li @@ -1452,9 +1453,6 @@ syntax-end -- a href=../team.html title=TeamTeam/a /li li - a href=../contributing.html title=ContributingContributing/a - /li - li a href=../resources.html title=ResourcesResources/a /li li @@ -1473,10 +1471,16 @@ syntax-end -- a href=http:divider title=/a /li li - a href=../release.html title=How to releaseHow to release/a + a href=../contributing.html title=How to ContributeHow to Contribute/a + /li + li + a href=../develop.html title=How to DevelopHow to Develop/a + /li + li + a href=../building_website.html title=How to Update WebsiteHow to Update Website/a /li li -
Jenkins build is back to normal : Phoenix | 4.2 #45
See https://builds.apache.org/job/Phoenix-4.2/45/changes