Git Product home page Git Product logo

bigsanity's People

Contributors

mtlynch avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bigsanity's Issues

Tests only spill forwards

Current implementation in table_names is that tables like 2014_06 might have tests with log_times in 2014_05 or 2014_07, but upon closer inspection of our data, this bug only causes spillover forward (i.e. only 2014_07). We need to fix table_names to avoid adding unnecessary tables to the queries.

TableEquivalenceChecker should gracefully handle BigQuery errors

BigQuery queries can fail due to a variety of reasons (connection error, query error). In theory, these are all being encapsulated by the query_execution module into query_execution.Error exceptions.

TableEquivalenceChecker should catch query execution errors and gracefully handle them (probably by retrying 3x and then moving on).

Right now a BigQuery error will completely crash the BigSanity process.

Use absolute_import to clean up imports in test files

Instead of this:

import os
import sys

sys.path.insert(1, os.path.abspath(os.path.join(
    os.path.dirname(__file__), '../bigsanity')))
import intervals

We can do this:

from __future__ import absolute_import

from bigsanity import intervals

paris_traceroute uses log_time

paris_traceroute data uses log_time rather than web100_log_entry.log_time since Paris Traceroute is not web100 based. We need to adjust the query construction to address this.

Migrate all datetimes to be tz aware in UTC

We are currently using tz-naive datetimes. This can probably bite us in unexpected ways around month borders, so let's switch everything to just explicitly use UTC time.

Run BQ queries in batch mode

We'll run BigSanity in non-batch mode to get initial validation quickly, but going forward, we'll switch to batch (or make this configurable) so that we can minimize impact on other queries.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.