Build a kql_variant class out of the environments holding scalar and aggregation function definitions
kql_translate_env()
Useful links