public boolean hasSameSchema(Schema otherSchema) {
		if (otherSchema == this.schema) {
			return true;
		}
		if (fieldValues.length != otherSchema.getFieldCount()) {
			return false;
		}
		if (!key.isSameType(otherSchema.getKeyFieldType())) {
			return false;
		}
		Field[] otherFields = otherSchema.getFields();
		for (int i = 0; i < fieldValues.length; i++) {
			if (!fieldValues[i].isSameType(otherFields[i])) {
				return false;
			}
		}
		return true;
	}
Determine if this record's schema is compatible with the specified schema.  
This check factors column count and column field types only.
Index and sparse column checks are not performed.
@param otherSchema other schema
@return true if records schemas are the same
Ghidra/Framework/DB/src/main/java/db/DBRecord.java