Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/22009
Change subject: KUDU-3623 do not crash on invalid input for 'kudu table copy' ...................................................................... KUDU-3623 do not crash on invalid input for 'kudu table copy' This patch adds code to handle invalid input for the --predicates flag of the 'kudu table copy' tool. Now, instead of crashing on any non-expected input, the tool exists gracefully and reports an actionable error message. With that, now it's easier to understand what was wrong, correct typos/mistakes, and re-run the tool again, eventually achieving the desired goal. A new test is added to cover the newly introduced functionality. This is a follow-up to 0afeddf9e530762e0e47beb7428982763715c746. Change-Id: I96ee4c38f3074b44ce89ac1b18784058e9148daf --- M src/kudu/tools/kudu-tool-test.cc M src/kudu/tools/table_scanner.cc 2 files changed, 263 insertions(+), 88 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/09/22009/1 -- To view, visit http://gerrit.cloudera.org:8080/22009 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I96ee4c38f3074b44ce89ac1b18784058e9148daf Gerrit-Change-Number: 22009 Gerrit-PatchSet: 1 Gerrit-Owner: Alexey Serbin <[email protected]>
