dbwong commented on a change in pull request #1065:
URL: https://github.com/apache/phoenix/pull/1065#discussion_r552440369
##########
File path:
phoenix-core/src/main/java/org/apache/phoenix/mapreduce/CsvBulkImportUtil.java
##########
@@ -69,8 +69,11 @@ public static void configurePreUpsertProcessor(Configuration
conf,
}
@VisibleForTesting
- static void setChar(Configuration conf, String confKey, char charValue) {
- conf.set(confKey,
Bytes.toString(Base64.getEncoder().encode(Character.toString(charValue).getBytes())));
+
+ static void setChar(Configuration conf, String confKey, Character
charValue) {
+ if(charValue!=null) {
Review comment:
Can you explain the reason for the null check?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]