├── .gitignore ├── LICENSE.txt ├── MANIFEST.in ├── README.md ├── requirements.txt ├── requirements_full.txt ├── script ├── build_egg.sh └── upload.sh ├── setup.cfg ├── setup.py └── src ├── hydro ├── __init__.py ├── base_classes.py ├── cache │ ├── __init__.py │ ├── base_classes.py │ ├── create_mysql_cache.sql │ ├── in_memory.py │ └── mysql_cache.py ├── common │ ├── __init__.py │ ├── configurator.py │ ├── execution_plan.py │ ├── logger.py │ └── utils.py ├── conf │ ├── __init__.py │ ├── logger.py │ ├── settings.py │ ├── settings_base.py │ └── settings_dev.py ├── connector_factory.py ├── connectors │ ├── __init__.py │ ├── base_classes.py │ ├── mysql.py │ ├── static.py │ └── vertica.py ├── exceptions.py ├── hydro_cli.py ├── hydro_cluster.py ├── query_engine.py ├── query_engine_factory.py ├── stats_engine.py ├── templates │ ├── conf.template │ ├── optimizer.template │ ├── sample.template │ └── topology1.template ├── topology_base.py ├── transformers.py └── types.py ├── sample ├── __init__.py ├── complex_plan │ ├── __init__.py │ ├── conf.py │ ├── optimizer.py │ └── sample_topology.py ├── geo_queries │ ├── __init__.py │ ├── conf.py │ ├── geo_lookup.sql │ ├── geo_widget.sql │ ├── geo_widget_topology.py │ └── optimizer.py ├── main.py └── topology_injection │ ├── __init__.py │ ├── conf.py │ ├── optimizer.py │ └── topology_injection_topology.py └── test ├── __init__.py └── hydro ├── __init__.py ├── cache ├── __init__.py └── test_in_memory.py ├── common ├── __init__.py └── test_execution_plan.py ├── connectors ├── __init__.py ├── check_connections.py ├── test_conncetor_base.py ├── test_hydro_cluster.py └── test_vertica.py ├── test_base_classes.py ├── test_query.sql ├── test_transformers.py └── topology ├── __init__.py ├── conf.py ├── optimizer.py └── test_topology_base.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/README.md -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/requirements.txt -------------------------------------------------------------------------------- /requirements_full.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/requirements_full.txt -------------------------------------------------------------------------------- /script/build_egg.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/script/build_egg.sh -------------------------------------------------------------------------------- /script/upload.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/script/upload.sh -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [metadata] 2 | description-file = README.md -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/setup.py -------------------------------------------------------------------------------- /src/hydro/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/__init__.py -------------------------------------------------------------------------------- /src/hydro/base_classes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/base_classes.py -------------------------------------------------------------------------------- /src/hydro/cache/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/cache/__init__.py -------------------------------------------------------------------------------- /src/hydro/cache/base_classes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/cache/base_classes.py -------------------------------------------------------------------------------- /src/hydro/cache/create_mysql_cache.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/cache/create_mysql_cache.sql -------------------------------------------------------------------------------- /src/hydro/cache/in_memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/cache/in_memory.py -------------------------------------------------------------------------------- /src/hydro/cache/mysql_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/cache/mysql_cache.py -------------------------------------------------------------------------------- /src/hydro/common/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'yanivshalev' 2 | -------------------------------------------------------------------------------- /src/hydro/common/configurator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/common/configurator.py -------------------------------------------------------------------------------- /src/hydro/common/execution_plan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/common/execution_plan.py -------------------------------------------------------------------------------- /src/hydro/common/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/common/logger.py -------------------------------------------------------------------------------- /src/hydro/common/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/common/utils.py -------------------------------------------------------------------------------- /src/hydro/conf/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'yanivshalev' 2 | -------------------------------------------------------------------------------- /src/hydro/conf/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/conf/logger.py -------------------------------------------------------------------------------- /src/hydro/conf/settings.py: -------------------------------------------------------------------------------- 1 | __author__ = 'yanivshalev' 2 | from settings_dev import * 3 | -------------------------------------------------------------------------------- /src/hydro/conf/settings_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/conf/settings_base.py -------------------------------------------------------------------------------- /src/hydro/conf/settings_dev.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/conf/settings_dev.py -------------------------------------------------------------------------------- /src/hydro/connector_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/connector_factory.py -------------------------------------------------------------------------------- /src/hydro/connectors/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'yanivshalev' -------------------------------------------------------------------------------- /src/hydro/connectors/base_classes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/connectors/base_classes.py -------------------------------------------------------------------------------- /src/hydro/connectors/mysql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/connectors/mysql.py -------------------------------------------------------------------------------- /src/hydro/connectors/static.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/connectors/static.py -------------------------------------------------------------------------------- /src/hydro/connectors/vertica.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/connectors/vertica.py -------------------------------------------------------------------------------- /src/hydro/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/exceptions.py -------------------------------------------------------------------------------- /src/hydro/hydro_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/hydro_cli.py -------------------------------------------------------------------------------- /src/hydro/hydro_cluster.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/hydro_cluster.py -------------------------------------------------------------------------------- /src/hydro/query_engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/query_engine.py -------------------------------------------------------------------------------- /src/hydro/query_engine_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/query_engine_factory.py -------------------------------------------------------------------------------- /src/hydro/stats_engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/stats_engine.py -------------------------------------------------------------------------------- /src/hydro/templates/conf.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/templates/conf.template -------------------------------------------------------------------------------- /src/hydro/templates/optimizer.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/templates/optimizer.template -------------------------------------------------------------------------------- /src/hydro/templates/sample.template: -------------------------------------------------------------------------------- 1 | Hello, world! -------------------------------------------------------------------------------- /src/hydro/templates/topology1.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/templates/topology1.template -------------------------------------------------------------------------------- /src/hydro/topology_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/topology_base.py -------------------------------------------------------------------------------- /src/hydro/transformers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/transformers.py -------------------------------------------------------------------------------- /src/hydro/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/hydro/types.py -------------------------------------------------------------------------------- /src/sample/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'moshebasanchig' 2 | -------------------------------------------------------------------------------- /src/sample/complex_plan/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sample/complex_plan/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/sample/complex_plan/conf.py -------------------------------------------------------------------------------- /src/sample/complex_plan/optimizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/sample/complex_plan/optimizer.py -------------------------------------------------------------------------------- /src/sample/complex_plan/sample_topology.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/sample/complex_plan/sample_topology.py -------------------------------------------------------------------------------- /src/sample/geo_queries/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sample/geo_queries/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/sample/geo_queries/conf.py -------------------------------------------------------------------------------- /src/sample/geo_queries/geo_lookup.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/sample/geo_queries/geo_lookup.sql -------------------------------------------------------------------------------- /src/sample/geo_queries/geo_widget.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/sample/geo_queries/geo_widget.sql -------------------------------------------------------------------------------- /src/sample/geo_queries/geo_widget_topology.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/sample/geo_queries/geo_widget_topology.py -------------------------------------------------------------------------------- /src/sample/geo_queries/optimizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/sample/geo_queries/optimizer.py -------------------------------------------------------------------------------- /src/sample/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/sample/main.py -------------------------------------------------------------------------------- /src/sample/topology_injection/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sample/topology_injection/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/sample/topology_injection/conf.py -------------------------------------------------------------------------------- /src/sample/topology_injection/optimizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/sample/topology_injection/optimizer.py -------------------------------------------------------------------------------- /src/sample/topology_injection/topology_injection_topology.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/sample/topology_injection/topology_injection_topology.py -------------------------------------------------------------------------------- /src/test/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'moshebasanchig' 2 | 3 | -------------------------------------------------------------------------------- /src/test/hydro/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'yanivshalev' 2 | -------------------------------------------------------------------------------- /src/test/hydro/cache/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'moshebasanchig' 2 | -------------------------------------------------------------------------------- /src/test/hydro/cache/test_in_memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/test/hydro/cache/test_in_memory.py -------------------------------------------------------------------------------- /src/test/hydro/common/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'yanivshalev' 2 | -------------------------------------------------------------------------------- /src/test/hydro/common/test_execution_plan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/test/hydro/common/test_execution_plan.py -------------------------------------------------------------------------------- /src/test/hydro/connectors/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'yanivshalev' 2 | -------------------------------------------------------------------------------- /src/test/hydro/connectors/check_connections.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/test/hydro/connectors/check_connections.py -------------------------------------------------------------------------------- /src/test/hydro/connectors/test_conncetor_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/test/hydro/connectors/test_conncetor_base.py -------------------------------------------------------------------------------- /src/test/hydro/connectors/test_hydro_cluster.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/test/hydro/connectors/test_hydro_cluster.py -------------------------------------------------------------------------------- /src/test/hydro/connectors/test_vertica.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/test/hydro/connectors/test_vertica.py -------------------------------------------------------------------------------- /src/test/hydro/test_base_classes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/test/hydro/test_base_classes.py -------------------------------------------------------------------------------- /src/test/hydro/test_query.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/test/hydro/test_query.sql -------------------------------------------------------------------------------- /src/test/hydro/test_transformers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/test/hydro/test_transformers.py -------------------------------------------------------------------------------- /src/test/hydro/topology/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/test/hydro/topology/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/test/hydro/topology/conf.py -------------------------------------------------------------------------------- /src/test/hydro/topology/optimizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/test/hydro/topology/optimizer.py -------------------------------------------------------------------------------- /src/test/hydro/topology/test_topology_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aolarchive/Hydro/HEAD/src/test/hydro/topology/test_topology_base.py --------------------------------------------------------------------------------