ctubbsii commented on issue #3233:
URL: https://github.com/apache/accumulo/issues/3233#issuecomment-1615286205

   > While clone table was mention, it was also mentioned that the -cc option 
was causing the issue:
   > 
   > ```
   > Table SRCTABLE is cloned to DESTTABLE using -cc, which adds a table level 
setting for the above property ```
   > ```
   > 
   > as far as I can tell, clonetable does not have a -cc option. createtable 
and createnamespace do.
   
   Right, it doesn't. That's why I think it's a bug. Whereas the `-cc, 
--copy-config` option has the semantics of "use the effective config of this 
other table as a template", the `clonetable` command has the semantics of `make 
this table behave like the other one, but with a new name`. So, it should copy 
over the *actual* config, not the effective config... because that wouldn't be 
the same.
   
   Basically, I think the issue reported here is a mismatch between the user's 
use case and the actual behavior (the option isn't well-suited for their use 
case) for the `createtable` command with the `--copy-config` option (something 
that is being addressed in #3562). But, when it comes to `clonetable` (without 
any copying options), the same observed problem would be an actual bug, because 
it's not cloning properly.


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