示例#1
0
def spark_op():
    schema = {
        "name": "telemetry_core_parquet",
        "partitions": ["submission_date_s3", "app_name", "os"],
        "ordering": ["submission_date_s3", "app_name", "os"]
    }
    optimizer = get_optimizer("spark", schema)
    return optimizer
示例#2
0
def spark_op():
    schema = {"partitions": ["submission_date_s3", "app_name", "os"]}
    optimizer = get_optimizer("spark", schema)
    return optimizer