xuefuz commented on a change in pull request #10062: [FLINK-14588][hive] 
Support Hive version 1.0.0 and 1.0.1
URL: https://github.com/apache/flink/pull/10062#discussion_r341270192
 
 

 ##########
 File path: 
flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/connectors/hive/HiveTableOutputFormat.java
 ##########
 @@ -461,8 +453,8 @@ private HivePartitionWriter writerForLocation(String 
location) throws IOExceptio
                        if (!StringUtils.isNullOrWhitespaceOnly(codecStr)) {
                                try {
                                        Class<? extends CompressionCodec> codec 
=
-                                               (Class<? extends 
CompressionCodec>) Class.forName(codecStr, true,
-                                                       
Thread.currentThread().getContextClassLoader());
+                                                       (Class<? extends 
CompressionCodec>) Class.forName(codecStr, true,
+                                                                       
Thread.currentThread().getContextClassLoader());
 
 Review comment:
   Nit: undo unnecessary changes.

----------------------------------------------------------------
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

Reply via email to