Casey Ching has uploaded a new patch set (#2). 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, 258 insertions(+), 33 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/41/2541/2 -- To view, visit http://gerrit.cloudera.org:8080/2541 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I6110003789a4b6ae496c02a526c47c3249ef5307 Gerrit-PatchSet: 2 Gerrit-Project: Impala Gerrit-Branch: cdh5-trunk Gerrit-Owner: Casey Ching <[email protected]> Gerrit-Reviewer: Casey Ching <[email protected]> Gerrit-Reviewer: Taras Bobrovytsky <[email protected]>
