Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18147


Change subject: [tools] limit auto-generated values for DATE columns
......................................................................

[tools] limit auto-generated values for DATE columns

Prior to this patch, an attempt to run the `kudu perf loadgen` CLI tool
on an already existing table having at least one DATE type column would
result in an error like below:

  $ kudu perf loadgen 127.0.0.1:9876 --table_name=test --use_upsert
  Runtime error: Invalid argument: value 2932903 out of range for date column 
'date_type'

With this patch, the `kudu perf loadgen` tool now passes with no error
in such case.

Change-Id: Id2c3b5acef79442b75386c7263e8d0e772a07a70
---
M src/kudu/tools/tool_action_perf.cc
1 file changed, 8 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/47/18147/1
--
To view, visit http://gerrit.cloudera.org:8080/18147
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id2c3b5acef79442b75386c7263e8d0e772a07a70
Gerrit-Change-Number: 18147
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to