Casey Ching has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/2541

Change subject: Query gen: Add INSERT statements
......................................................................

Query gen: Add INSERT statements

This is prep for Kudu support though other storage formats could use
this too. UPDATEs and DELETEs will be added later.

The only testing done was using the EXPLAINs.

This also includes a change to the way data types are compared.
Previously comparisons didn't consider precision, so for example two
CHARs were always considered equal. That was a problem for INSERTs
because an inserted value can't exceed the precision of the destination.

Change-Id: I6110003789a4b6ae496c02a526c47c3249ef5307
---
M tests/comparison/db_types.py
M tests/comparison/discrepancy_searcher.py
M tests/comparison/funcs.py
M tests/comparison/model_translator.py
M tests/comparison/query_profile.py
A tests/comparison/statement_generator.py
A tests/comparison/statements.py
7 files changed, 245 insertions(+), 20 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/41/2541/1
-- 
To view, visit http://gerrit.cloudera.org:8080/2541
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6110003789a4b6ae496c02a526c47c3249ef5307
Gerrit-PatchSet: 1
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Casey Ching <[email protected]>

Reply via email to