We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c4beb2 commit 71b62ccCopy full SHA for 71b62cc
1 file changed
src/iceberg/avro/avro_schema_util.cc
@@ -81,8 +81,7 @@ std::string SanitizeFieldName(std::string_view field_name) {
81
}
82
83
// Process all characters
84
- for (size_t i = 0; i < field_name.size(); ++i) {
85
- char c = field_name[i];
+ for (char c : field_name) {
86
if (std::isalnum(static_cast<unsigned char>(c)) || c == '_') {
87
result.push_back(c);
88
} else {
0 commit comments