Enabling AQL
For now, enabling AQL for your dataset involves a simple process of adding version flagging at the dataset level. You just need to incorporate a version flag in your dataset definition as: __engine__: 'aql'
. This will activate AQL within your specified dataset while other datasets continue to operate using the prior and stable engine.
Dataset aql_dataset {
__engine__: 'aql' //turn this Dataset to using AQL Engine
data_source_name: 'your_datasource_name'
models: [ ]
relationships: [ ]
}
Note: As AQL is currently in its beta stage, we suggest creating a duplicate of the dataset you wish to apply AQL to for backward compatibility. You can then add version flags to this cloned dataset. Once you've tested AQL on the clone, you are free to enable AQL for your main dataset.
If you find that the new AQL engine impacts your existing reports, you can conveniently remove the version flags from the concerned dataset.