├── .env.sample ├── .env.test ├── .flake8 ├── .github ├── dependabot.yml └── workflows │ └── test.yml ├── .gitignore ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── docker-compose.yml ├── docker ├── Dockerfile └── cmd.sh ├── paradigm_sinker.png ├── pyproject.toml ├── sinker_schema.png ├── src └── sinker │ ├── __init__.py │ ├── __main__.py │ ├── bulk_action_generator.py │ ├── es.py │ ├── query_templates.py │ ├── runner.py │ ├── settings.py │ ├── sinker.py │ └── utils.py └── tests ├── fixtures ├── course_mv.sql ├── courses.json ├── people.json ├── person_mv.sql ├── schema.sql └── views_to_indices.json ├── test_bulk_action_generator.py ├── test_e2e.py └── test_parse_schema_tables.py /.env.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/.env.sample -------------------------------------------------------------------------------- /.env.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/.env.test -------------------------------------------------------------------------------- /.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/.flake8 -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/docker/Dockerfile -------------------------------------------------------------------------------- /docker/cmd.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/docker/cmd.sh -------------------------------------------------------------------------------- /paradigm_sinker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/paradigm_sinker.png -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/pyproject.toml -------------------------------------------------------------------------------- /sinker_schema.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/sinker_schema.png -------------------------------------------------------------------------------- /src/sinker/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sinker/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/src/sinker/__main__.py -------------------------------------------------------------------------------- /src/sinker/bulk_action_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/src/sinker/bulk_action_generator.py -------------------------------------------------------------------------------- /src/sinker/es.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/src/sinker/es.py -------------------------------------------------------------------------------- /src/sinker/query_templates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/src/sinker/query_templates.py -------------------------------------------------------------------------------- /src/sinker/runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/src/sinker/runner.py -------------------------------------------------------------------------------- /src/sinker/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/src/sinker/settings.py -------------------------------------------------------------------------------- /src/sinker/sinker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/src/sinker/sinker.py -------------------------------------------------------------------------------- /src/sinker/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/src/sinker/utils.py -------------------------------------------------------------------------------- /tests/fixtures/course_mv.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/tests/fixtures/course_mv.sql -------------------------------------------------------------------------------- /tests/fixtures/courses.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/tests/fixtures/courses.json -------------------------------------------------------------------------------- /tests/fixtures/people.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/tests/fixtures/people.json -------------------------------------------------------------------------------- /tests/fixtures/person_mv.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/tests/fixtures/person_mv.sql -------------------------------------------------------------------------------- /tests/fixtures/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/tests/fixtures/schema.sql -------------------------------------------------------------------------------- /tests/fixtures/views_to_indices.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/tests/fixtures/views_to_indices.json -------------------------------------------------------------------------------- /tests/test_bulk_action_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/tests/test_bulk_action_generator.py -------------------------------------------------------------------------------- /tests/test_e2e.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/tests/test_e2e.py -------------------------------------------------------------------------------- /tests/test_parse_schema_tables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paradigmxyz/sinker/HEAD/tests/test_parse_schema_tables.py --------------------------------------------------------------------------------