Fix country code serialization (#11947)

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2024-05-16 18:54:07 -06:00 committed by GitHub
parent 0dd5fe313b
commit 23315d214c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -645,7 +645,7 @@ where
let country_code = country_code.as_bytes();
serializer.serialize_u16(((country_code[0] as u16) << 8) + country_code[1] as u16)
serializer.serialize_u16(((country_code[1] as u16) << 8) + country_code[0] as u16)
}
#[derive(Serialize, Debug, clickhouse::Row)]