[Task]: TypedSchemaTransformProvider should generate Schema field names with lower_snake_case
convention
#31061
Closed
1 of 16 tasks
Labels
Milestone
What needs to happen?
TypedSchemaTransformProvider takes advantage of DefaultSchema and AutoValueSchema to convert an AutoValue config object to a Row.
AutoValueSchema is a GetterBasedSchemaProvider which simply infers names from an object's getter methods. The end result is a Row with field names in lowerCamelCase convention.
Since SchemaTransforms are intended for external (ie. non-Java) languages, we want to generate field names that are in lower_snake_case convention. Preferably, this would be done directly in TypedSchemaTransformProvider.
P.S. TypedSchemaTransformProvider's configFromRow() method should also be updated to accept a row with snake_case field names.
Issue Priority
Priority: 3 (nice-to-have improvement)
Issue Components
The text was updated successfully, but these errors were encountered: