Page MenuHomePhabricator

refactor burnup SQL for consistency across different projects
Closed, ResolvedPublic

Description

  • figure out best way to pass in a variable
  • rewrite all non-VE SQL to conform
    • handle custom reconstruction SQL
    • handle generic queries

Event Timeline

JAufrecht claimed this task.
JAufrecht raised the priority of this task from to Medium.
JAufrecht updated the task description. (Show Details)
JAufrecht added a project: VisualEditor.
ggellerman lowered the priority of this task from Medium to Low.Sep 30 2015, 6:04 PM
ggellerman moved this task from To Triage to General backlog on the Team-Practices board.
ggellerman edited a custom field.

Brainstorm:

  • call all SQL and R directly from Python
    • easiest for looping and passing variables
    • what is the best way to pass variables to SQL
      • command line to PSQL files
      • within the cursor
        • to PSQL files (current method)
        • to PLPGSQL stored procedures
          • this is probably best way to eliminate duplication.
  • use kwargs to pass everything to phlogiston subroutines (which maybe are in other files?)