CREATE TABLE Orders (
    PRIMARY KEY (`id`, `time`) NOT ENFORCED,
    WATERMARK FOR `time` AS `time` - INTERVAL '0.001' SECOND
) WITH (
    'format' = 'flexible-json',
    'path' = '${DATA_PATH}/orders.jsonl',
    'connector' = 'filesystem'
)
LIKE `orders.schema.yml`;
