Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6288)

Issue 9763044: Add queryview to m-lab.analysis (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 11 months ago by stephenz-oti
Modified:
10 years, 11 months ago
Reviewers:
dominic-mlab
CC:
mattmathis_google.com, tiziana-mlab
Base URL:
http://analysis.m-lab.googlecode.com/git/
Visibility:
Public.

Description

Add queryview to m-lab.analysis

Patch Set 1 #

Total comments: 5

Patch Set 2 : Add web100 variable template #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+805 lines, -0 lines) Patch
A queryview/README View 1 1 chunk +54 lines, -0 lines 0 comments Download
A queryview/create_graphs.sh View 1 chunk +48 lines, -0 lines 0 comments Download
A queryview/queryview.py View 1 chunk +456 lines, -0 lines 0 comments Download
A queryview/sql/example.sql View 1 chunk +30 lines, -0 lines 0 comments Download
A queryview/sql/ndt-tmpl-minrtt.sql View 1 chunk +39 lines, -0 lines 0 comments Download
A queryview/sql/ndt-tmpl-rate.sql View 1 chunk +51 lines, -0 lines 0 comments Download
A queryview/sql/ndt-tmpl-sndlimit.sql View 1 chunk +51 lines, -0 lines 0 comments Download
A queryview/sql/ndt-tmpl-sndlimit-flat.sql View 1 chunk +37 lines, -0 lines 0 comments Download
A queryview/sql/ndt-tmpl-web100.sql View 1 1 chunk +39 lines, -0 lines 1 comment Download

Messages

Total messages: 5
stephenz-oti
10 years, 11 months ago (2013-05-31 15:28:20 UTC) #1
dominic-mlab
https://codereview.appspot.com/9763044/diff/1/queryview/queryview.py File queryview/queryview.py (right): https://codereview.appspot.com/9763044/diff/1/queryview/queryview.py#newcode28 queryview/queryview.py:28: def bigquery_exec(query_string, output_filename, verbose=False): why not use the bigquery ...
10 years, 11 months ago (2013-05-31 16:16:11 UTC) #2
stephenz-oti
https://codereview.appspot.com/9763044/diff/1/queryview/queryview.py File queryview/queryview.py (right): https://codereview.appspot.com/9763044/diff/1/queryview/queryview.py#newcode28 queryview/queryview.py:28: def bigquery_exec(query_string, output_filename, verbose=False): On 2013/05/31 16:16:11, dominic-mlab wrote: ...
10 years, 11 months ago (2013-05-31 17:09:56 UTC) #3
dominic-mlab
LGTM https://codereview.appspot.com/9763044/diff/1/queryview/queryview.py File queryview/queryview.py (right): https://codereview.appspot.com/9763044/diff/1/queryview/queryview.py#newcode28 queryview/queryview.py:28: def bigquery_exec(query_string, output_filename, verbose=False): On 2013/05/31 17:09:56, stephenz-oti ...
10 years, 11 months ago (2013-05-31 19:56:04 UTC) #4
stephenz-oti
10 years, 11 months ago (2013-06-03 21:58:26 UTC) #5
On 2013/05/31 19:56:04, dominic-mlab wrote:
> LGTM
> 
> https://codereview.appspot.com/9763044/diff/1/queryview/queryview.py
> File queryview/queryview.py (right):
> 
> https://codereview.appspot.com/9763044/diff/1/queryview/queryview.py#newcode28
> queryview/queryview.py:28: def bigquery_exec(query_string, output_filename,
> verbose=False):
> On 2013/05/31 17:09:56, stephenz-oti wrote:
> > On 2013/05/31 16:16:11, dominic-mlab wrote:
> > > why not use the bigquery api instead of calling out to shell?
> > 
> > That is certainly my intention and was my first hope.  I did not find the
api
> as
> > easily exposed as I expected.  B/c the bq command encapsulates all the
> > authentication logic and boilerplate setup, as a first-pass, this was the
> right
> > balance of cost/benefit.
> 
> when you're ready, check out geoviz in this very repo. It uses the bq api to
> pull in all the locations of ndt tests.
> 

I will. That looks great.

>
https://codereview.appspot.com/9763044/diff/6001/queryview/sql/ndt-tmpl-web10...
> File queryview/sql/ndt-tmpl-web100.sql (right):
> 
>
https://codereview.appspot.com/9763044/diff/6001/queryview/sql/ndt-tmpl-web10...
> queryview/sql/ndt-tmpl-web100.sql:19: AND
> IS_EXPLICITLY_DEFINED(web100_log_entry.connection_spec.remote_ip)
> so can you now use this template instead of the minrtt one? if so, maybe
there's
> no need to have them all in. :)

Yeah, I ended up pruning the sql files.

Cheers.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b