stoty commented on a change in pull request #1265:
URL: https://github.com/apache/phoenix/pull/1265#discussion_r669373786



##########
File path: 
phoenix-core/src/main/java/org/apache/phoenix/mapreduce/AbstractBulkLoadTool.java
##########
@@ -242,16 +252,31 @@ private int loadData(Configuration conf, CommandLine 
cmdLine) throws Exception {
 
         List<TargetTableRef> tablesToBeLoaded = new 
ArrayList<TargetTableRef>();
         PTable table = PhoenixRuntime.getTable(conn, qualifiedTableName);
+
+        boolean isImmutable = table.isImmutableRows();

Review comment:
       I think that bulk loading does not observe immutability, and you can 
modify rows with it.
   If that's true, then we shouldn't treat immuable tables any different than 
normal ones.
   Could you please check 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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to