Changes to store stat table name in attributes metadata