difin commented on code in PR #5355:
URL: https://github.com/apache/hive/pull/5355#discussion_r1762084959
##########
hcatalog/core/src/test/java/org/apache/hive/hcatalog/mapreduce/HCatMapReduceTest.java:
##########
@@ -282,7 +282,7 @@ public void map(WritableComparable key, HCatRecord value,
Context context)
Job runMRCreate(Map<String, String> partitionValues, List<HCatFieldSchema>
partitionColumns,
List<HCatRecord> records, int writeCount, boolean assertWrite) throws
Exception {
return runMRCreate(partitionValues, partitionColumns, records, writeCount,
assertWrite,
- true, null);
+ true, new HashMap<String, String>());
Review Comment:
Can `Collections.emptyMap()` be used instead?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]