diff --git a/substrait_consumer/functional/aggregate_relation_configs.py b/substrait_consumer/functional/aggregate_relation_configs.py deleted file mode 100644 index 5c499531..00000000 --- a/substrait_consumer/functional/aggregate_relation_configs.py +++ /dev/null @@ -1,9 +0,0 @@ -from pathlib import Path - -from substrait_consumer.functional.utils import load_json - -CONFIG_DIR = Path(__file__).parent -AGGREGATE_DIR = CONFIG_DIR / "relation" / "aggregate" -AGGREGATE_RELATION_TESTS = tuple( - load_json(file) for file in AGGREGATE_DIR.glob("*.json") -) diff --git a/substrait_consumer/functional/approximation_configs.py b/substrait_consumer/functional/approximation_configs.py deleted file mode 100644 index 71f7a5cd..00000000 --- a/substrait_consumer/functional/approximation_configs.py +++ /dev/null @@ -1,10 +0,0 @@ -from pathlib import Path - -from substrait_consumer.functional.utils import load_json - -CONFIG_DIR = Path(__file__).parent -SCALAR_DIR = CONFIG_DIR / "function" / "approximation" / "scalar" -AGGREGATE_DIR = CONFIG_DIR / "function" / "approximation" / "aggregate" - -SCALAR_FUNCTIONS = tuple(load_json(file) for file in SCALAR_DIR.glob("*.json")) -AGGREGATE_FUNCTIONS = tuple(load_json(file) for file in AGGREGATE_DIR.glob("*.json")) diff --git a/substrait_consumer/functional/arithmetic_configs.py b/substrait_consumer/functional/arithmetic_configs.py deleted file mode 100644 index 83bad069..00000000 --- a/substrait_consumer/functional/arithmetic_configs.py +++ /dev/null @@ -1,10 +0,0 @@ -from pathlib import Path - -from substrait_consumer.functional.utils import load_json - -CONFIG_DIR = Path(__file__).parent -SCALAR_DIR = CONFIG_DIR / "function" / "arithmetic" / "scalar" -AGGREGATE_DIR = CONFIG_DIR / "function" / "arithmetic" / "aggregate" - -SCALAR_FUNCTIONS = tuple(load_json(file) for file in SCALAR_DIR.glob("*.json")) -AGGREGATE_FUNCTIONS = tuple(load_json(file) for file in AGGREGATE_DIR.glob("*.json")) diff --git a/substrait_consumer/functional/arithmetic_decimal_configs.py b/substrait_consumer/functional/arithmetic_decimal_configs.py deleted file mode 100644 index 532b5585..00000000 --- a/substrait_consumer/functional/arithmetic_decimal_configs.py +++ /dev/null @@ -1,10 +0,0 @@ -from pathlib import Path - -from substrait_consumer.functional.utils import load_json - -CONFIG_DIR = Path(__file__).parent -SCALAR_DIR = CONFIG_DIR / "function" / "arithmetic_decimal" / "scalar" -AGGREGATE_DIR = CONFIG_DIR / "function" / "arithmetic_decimal" / "aggregate" - -SCALAR_FUNCTIONS = tuple(load_json(file) for file in SCALAR_DIR.glob("*.json")) -AGGREGATE_FUNCTIONS = tuple(load_json(file) for file in AGGREGATE_DIR.glob("*.json")) diff --git a/substrait_consumer/functional/boolean_configs.py b/substrait_consumer/functional/boolean_configs.py deleted file mode 100644 index 551df170..00000000 --- a/substrait_consumer/functional/boolean_configs.py +++ /dev/null @@ -1,10 +0,0 @@ -from pathlib import Path - -from substrait_consumer.functional.utils import load_json - -CONFIG_DIR = Path(__file__).parent -SCALAR_DIR = CONFIG_DIR / "function" / "boolean" / "scalar" -AGGREGATE_DIR = CONFIG_DIR / "function" / "boolean" / "aggregate" - -SCALAR_FUNCTIONS = tuple(load_json(file) for file in SCALAR_DIR.glob("*.json")) -AGGREGATE_FUNCTIONS = tuple(load_json(file) for file in AGGREGATE_DIR.glob("*.json")) diff --git a/substrait_consumer/functional/comparison_configs.py b/substrait_consumer/functional/comparison_configs.py deleted file mode 100644 index c863c62f..00000000 --- a/substrait_consumer/functional/comparison_configs.py +++ /dev/null @@ -1,10 +0,0 @@ -from pathlib import Path - -from substrait_consumer.functional.utils import load_json - -CONFIG_DIR = Path(__file__).parent -SCALAR_DIR = CONFIG_DIR / "function" / "comparison" / "scalar" -AGGREGATE_DIR = CONFIG_DIR / "function" / "comparison" / "aggregate" - -SCALAR_FUNCTIONS = tuple(load_json(file) for file in SCALAR_DIR.glob("*.json")) -AGGREGATE_FUNCTIONS = tuple(load_json(file) for file in AGGREGATE_DIR.glob("*.json")) diff --git a/substrait_consumer/functional/datetime_configs.py b/substrait_consumer/functional/datetime_configs.py deleted file mode 100644 index a49e518e..00000000 --- a/substrait_consumer/functional/datetime_configs.py +++ /dev/null @@ -1,10 +0,0 @@ -from pathlib import Path - -from substrait_consumer.functional.utils import load_json - -CONFIG_DIR = Path(__file__).parent -SCALAR_DIR = CONFIG_DIR / "function" / "datetime" / "scalar" -AGGREGATE_DIR = CONFIG_DIR / "function" / "datetime" / "aggregate" - -SCALAR_FUNCTIONS = tuple(load_json(file) for file in SCALAR_DIR.glob("*.json")) -AGGREGATE_FUNCTIONS = tuple(load_json(file) for file in AGGREGATE_DIR.glob("*.json")) diff --git a/substrait_consumer/functional/ddl_relation_configs.py b/substrait_consumer/functional/ddl_relation_configs.py deleted file mode 100644 index 07e9174b..00000000 --- a/substrait_consumer/functional/ddl_relation_configs.py +++ /dev/null @@ -1,7 +0,0 @@ -from pathlib import Path - -from substrait_consumer.functional.utils import load_json - -CONFIG_DIR = Path(__file__).parent -DDL_DIR = CONFIG_DIR / "relation" / "ddl" -DDL_RELATION_TESTS = tuple(load_json(file) for file in DDL_DIR.glob("*.json")) diff --git a/substrait_consumer/functional/fetch_relation_configs.py b/substrait_consumer/functional/fetch_relation_configs.py deleted file mode 100644 index 28d27d1a..00000000 --- a/substrait_consumer/functional/fetch_relation_configs.py +++ /dev/null @@ -1,7 +0,0 @@ -from pathlib import Path - -from substrait_consumer.functional.utils import load_json - -CONFIG_DIR = Path(__file__).parent -FETCH_DIR = CONFIG_DIR / "relation" / "fetch" -FETCH_RELATION_TESTS = tuple(load_json(file) for file in FETCH_DIR.glob("*.json")) diff --git a/substrait_consumer/functional/filter_relation_configs.py b/substrait_consumer/functional/filter_relation_configs.py deleted file mode 100644 index a3832310..00000000 --- a/substrait_consumer/functional/filter_relation_configs.py +++ /dev/null @@ -1,7 +0,0 @@ -from pathlib import Path - -from substrait_consumer.functional.utils import load_json - -CONFIG_DIR = Path(__file__).parent -FILTER_DIR = CONFIG_DIR / "relation" / "filter" -FILTER_RELATION_TESTS = tuple(load_json(file) for file in FILTER_DIR.glob("*.json")) diff --git a/substrait_consumer/functional/join_relation_configs.py b/substrait_consumer/functional/join_relation_configs.py deleted file mode 100644 index bf48bfcb..00000000 --- a/substrait_consumer/functional/join_relation_configs.py +++ /dev/null @@ -1,7 +0,0 @@ -from pathlib import Path - -from substrait_consumer.functional.utils import load_json - -CONFIG_DIR = Path(__file__).parent -JOIN_DIR = CONFIG_DIR / "relation" / "join" -JOIN_RELATION_TESTS = tuple(load_json(file) for file in JOIN_DIR.glob("*.json")) diff --git a/substrait_consumer/functional/logarithmic_configs.py b/substrait_consumer/functional/logarithmic_configs.py deleted file mode 100644 index 071c2842..00000000 --- a/substrait_consumer/functional/logarithmic_configs.py +++ /dev/null @@ -1,10 +0,0 @@ -from pathlib import Path - -from substrait_consumer.functional.utils import load_json - -CONFIG_DIR = Path(__file__).parent -SCALAR_DIR = CONFIG_DIR / "function" / "logarithmic" / "scalar" -AGGREGATE_DIR = CONFIG_DIR / "function" / "logarithmic" / "aggregate" - -SCALAR_FUNCTIONS = tuple(load_json(file) for file in SCALAR_DIR.glob("*.json")) -AGGREGATE_FUNCTIONS = tuple(load_json(file) for file in AGGREGATE_DIR.glob("*.json")) diff --git a/substrait_consumer/functional/project_relation_configs.py b/substrait_consumer/functional/project_relation_configs.py deleted file mode 100644 index d0c82c4e..00000000 --- a/substrait_consumer/functional/project_relation_configs.py +++ /dev/null @@ -1,7 +0,0 @@ -from pathlib import Path - -from substrait_consumer.functional.utils import load_json - -CONFIG_DIR = Path(__file__).parent -PROJECT_DIR = CONFIG_DIR / "relation" / "project" -PROJECT_RELATION_TESTS = tuple(load_json(file) for file in PROJECT_DIR.glob("*.json")) diff --git a/substrait_consumer/functional/read_relation_configs.py b/substrait_consumer/functional/read_relation_configs.py deleted file mode 100644 index 9be08f9f..00000000 --- a/substrait_consumer/functional/read_relation_configs.py +++ /dev/null @@ -1,7 +0,0 @@ -from pathlib import Path - -from substrait_consumer.functional.utils import load_json - -CONFIG_DIR = Path(__file__).parent -READ_DIR = CONFIG_DIR / "relation" / "read" -READ_RELATION_TESTS = tuple(load_json(file) for file in READ_DIR.glob("*.json")) diff --git a/substrait_consumer/functional/rounding_configs.py b/substrait_consumer/functional/rounding_configs.py deleted file mode 100644 index 431b5807..00000000 --- a/substrait_consumer/functional/rounding_configs.py +++ /dev/null @@ -1,10 +0,0 @@ -from pathlib import Path - -from substrait_consumer.functional.utils import load_json - -CONFIG_DIR = Path(__file__).parent -SCALAR_DIR = CONFIG_DIR / "function" / "rounding" / "scalar" -AGGREGATE_DIR = CONFIG_DIR / "function" / "rounding" / "aggregate" - -SCALAR_FUNCTIONS = tuple(load_json(file) for file in SCALAR_DIR.glob("*.json")) -AGGREGATE_FUNCTIONS = tuple(load_json(file) for file in AGGREGATE_DIR.glob("*.json")) diff --git a/substrait_consumer/functional/set_relation_configs.py b/substrait_consumer/functional/set_relation_configs.py deleted file mode 100644 index 3da3ac8a..00000000 --- a/substrait_consumer/functional/set_relation_configs.py +++ /dev/null @@ -1,7 +0,0 @@ -from pathlib import Path - -from substrait_consumer.functional.utils import load_json - -CONFIG_DIR = Path(__file__).parent -SET_DIR = CONFIG_DIR / "relation" / "set" -SET_RELATION_TESTS = tuple(load_json(file) for file in SET_DIR.glob("*.json")) diff --git a/substrait_consumer/functional/sort_relation_configs.py b/substrait_consumer/functional/sort_relation_configs.py deleted file mode 100644 index 63fc0ec9..00000000 --- a/substrait_consumer/functional/sort_relation_configs.py +++ /dev/null @@ -1,7 +0,0 @@ -from pathlib import Path - -from substrait_consumer.functional.utils import load_json - -CONFIG_DIR = Path(__file__).parent -SORT_DIR = CONFIG_DIR / "relation" / "sort" -SORT_RELATION_TESTS = tuple(load_json(file) for file in SORT_DIR.glob("*.json")) diff --git a/substrait_consumer/functional/string_configs.py b/substrait_consumer/functional/string_configs.py deleted file mode 100644 index b130f8f9..00000000 --- a/substrait_consumer/functional/string_configs.py +++ /dev/null @@ -1,10 +0,0 @@ -from pathlib import Path - -from substrait_consumer.functional.utils import load_json - -CONFIG_DIR = Path(__file__).parent -SCALAR_DIR = CONFIG_DIR / "function" / "string" / "scalar" -AGGREGATE_DIR = CONFIG_DIR / "function" / "string" / "aggregate" - -SCALAR_FUNCTIONS = tuple(load_json(file) for file in SCALAR_DIR.glob("*.json")) -AGGREGATE_FUNCTIONS = tuple(load_json(file) for file in AGGREGATE_DIR.glob("*.json")) diff --git a/substrait_consumer/functional/write_relation_configs.py b/substrait_consumer/functional/write_relation_configs.py deleted file mode 100644 index d95eefba..00000000 --- a/substrait_consumer/functional/write_relation_configs.py +++ /dev/null @@ -1,7 +0,0 @@ -from pathlib import Path - -from substrait_consumer.functional.utils import load_json - -CONFIG_DIR = Path(__file__).parent -WRITE_DIR = CONFIG_DIR / "relation" / "write" -WRITE_RELATION_TESTS = tuple(load_json(file) for file in WRITE_DIR.glob("*.json"))