[FEATURES] divide QueryContext from QueryMetadata