You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by sk...@apache.org on 2019/07/24 17:28:04 UTC
[phoenix] branch 4.x-HBase-1.4 updated (2a670b0 -> b962034)
This is an automated email from the ASF dual-hosted git repository.
skadam pushed a change to branch 4.x-HBase-1.4
in repository https://gitbox.apache.org/repos/asf/phoenix.git.
from 2a670b0 PHOENIX-5360 Cleanup anonymous inner classes in WhereOptimizer
new 99b3b9f PHOENIX-4918 Apache Phoenix website Grammar page is running on an old version with cvs format fix (addendum)
new b962034 PHOENIX-5382 : Improved performace with Bulk operations over iterations (addendum)
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
docs/phoenix.csv | 2 +-
.../src/main/java/org/apache/phoenix/util/CSVCommonsLoader.java | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
[phoenix] 01/02: PHOENIX-4918 Apache Phoenix website Grammar page
is running on an old version with cvs format fix (addendum)
Posted by sk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
skadam pushed a commit to branch 4.x-HBase-1.4
in repository https://gitbox.apache.org/repos/asf/phoenix.git
commit 99b3b9f2d702345a68d0f8a4dc014da00657bf4a
Author: Xinyi <xy...@salesforce.com>
AuthorDate: Wed Jul 3 17:24:43 2019 -0700
PHOENIX-4918 Apache Phoenix website Grammar page is running on an old version with cvs format fix (addendum)
Signed-off-by: s.kadam <sk...@apache.org>
---
docs/phoenix.csv | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/phoenix.csv b/docs/phoenix.csv
index d881e5e..fc0c0c8 100644
--- a/docs/phoenix.csv
+++ b/docs/phoenix.csv
@@ -1974,7 +1974,7 @@ similarly to the single-argument ""TO_DATE"" function.
","
TO_DATE('Sat, 3 Feb 2001 03:05:06 GMT', 'EEE, d MMM yyyy HH:mm:ss z')
TO_DATE('1970-01-01', 'yyyy-MM-dd', 'GMT+1')
-date "1970-01-01 12:30:00"
+date '1970-01-01 12:30:00'
"
"Functions (Time and Date)","CURRENT_DATE","
[phoenix] 02/02: PHOENIX-5382 : Improved performace with Bulk
operations over iterations (addendum)
Posted by sk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
skadam pushed a commit to branch 4.x-HBase-1.4
in repository https://gitbox.apache.org/repos/asf/phoenix.git
commit b962034e48314b51580a333f5f7ddf5b57e74a2d
Author: Viraj Jasani <vi...@gmail.com>
AuthorDate: Wed Jul 24 18:21:06 2019 +0530
PHOENIX-5382 : Improved performace with Bulk operations over iterations (addendum)
Signed-off-by: s.kadam <sk...@apache.org>
---
.../src/main/java/org/apache/phoenix/util/CSVCommonsLoader.java | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/util/CSVCommonsLoader.java b/phoenix-core/src/main/java/org/apache/phoenix/util/CSVCommonsLoader.java
index 59ed9cf..024e3cd 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/util/CSVCommonsLoader.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/util/CSVCommonsLoader.java
@@ -158,7 +158,11 @@ public class CSVCommonsLoader {
* @return
*/
public static char asControlCharacter(char delimiter) {
- return CTRL_CHARACTER_TABLE.getOrDefault(delimiter, delimiter);
+ if(CTRL_CHARACTER_TABLE.containsKey(delimiter)) {
+ return CTRL_CHARACTER_TABLE.get(delimiter);
+ } else {
+ return delimiter;
+ }
}
/**