Alexey Serbin has submitted this change and it was merged. ( 
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
Reviewed-on: http://gerrit.cloudera.org:8080/18147
Tested-by: Alexey Serbin <[email protected]>
Reviewed-by: Andrew Wong <[email protected]>
---
M src/kudu/tools/tool_action_perf.cc
1 file changed, 8 insertions(+), 1 deletion(-)

Approvals:
  Alexey Serbin: Verified
  Andrew Wong: Looks good to me, approved

--
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: merged
Gerrit-Change-Id: Id2c3b5acef79442b75386c7263e8d0e772a07a70
Gerrit-Change-Number: 18147
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Abhishek Chennaka <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to