use bytes.comapreTO for type_schema and table_schema comparison.