Skip to content

Time-based window aggregation in SQL

Notifications You must be signed in to change notification settings

kmolski/sql-time-windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sql-time-windows

SQL extension for time-based window aggregation

How to run

Requirements:

  • Python 3 (preferably 3.9, might work with other versions)
  • Poetry tool for Python (pip install poetry)

Running:

  1. Run poetry install in the root directory.
  2. Open poetry shell with poetry shell and run the sql_translator.py script OR use poetry run python sql_translator.py.

The time_window.py script does not require poetry and only depends on sql_generator.py.

About

Time-based window aggregation in SQL

Topics

Resources

Stars

Watchers

Forks

Languages