Internal Jenkins has submitted this change and it was merged. Change subject: IMPALA-4001: qgen: add proof of concept tests for Query() objects ......................................................................
IMPALA-4001: qgen: add proof of concept tests for Query() objects This patch adds a simple proof-of-concept test framework, and a few tests, for the random query generator, specifically the portion of the random query generator that is responsible for taking a Query object and doing something with it. The two pieces of functionality I chose for exhibition are 1. Writing the query into Impala SQL 2. Reporting characteristics in the SELECT clause (used internally) In the interest of keeping the patch small, I have not added many tests, nor have I chose to focus on more areas for test. On its own this is fairly simple. As I add features to this portion of the query generator, though, it will be more useful to test new functionality and also regression test the framework. Change-Id: I2ed1960430ae0af469986e33f88aecb6fa74e999 Reviewed-on: http://gerrit.cloudera.org:8080/4081 Reviewed-by: Michael Brown <mi...@cloudera.com> Reviewed-by: Matthew Jacobs <m...@cloudera.com> Tested-by: Internal Jenkins --- A tests/comparison/tests/README A tests/comparison/tests/fake_query.py A tests/comparison/tests/query_object_testdata.py A tests/comparison/tests/test_query_objects.py 4 files changed, 335 insertions(+), 0 deletions(-) Approvals: Michael Brown: Looks good to me, but someone else must approve Matthew Jacobs: Looks good to me, approved Internal Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/4081 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: I2ed1960430ae0af469986e33f88aecb6fa74e999 Gerrit-PatchSet: 5 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Michael Brown <mi...@cloudera.com> Gerrit-Reviewer: David Knupp <dkn...@cloudera.com> Gerrit-Reviewer: Internal Jenkins Gerrit-Reviewer: Matthew Jacobs <m...@cloudera.com> Gerrit-Reviewer: Michael Brown <mi...@cloudera.com> Gerrit-Reviewer: Taras Bobrovytsky <tbobrovyt...@cloudera.com>