aasha commented on a change in pull request #963: HIVE-23020 : Avoid using
_files for replication data copy during incr…
URL: https://github.com/apache/hive/pull/963#discussion_r401526351
##########
File path:
ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/AddPartitionHandler.java
##########
@@ -108,10 +108,8 @@ public void handle(Context withinContext) throws
Exception {
Iterable<String> files = partitionFilesIter.next().getFiles();
if (files != null) {
// encoded filename/checksum of files, write into _files
- try (BufferedWriter fileListWriter = writer(withinContext, qlPtn)) {
- for (String file : files) {
- writeFileEntry(qlMdTable.getDbName(), qlMdTable, file,
fileListWriter, withinContext);
- }
+ for (String file : files) {
Review comment:
tests for this
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]