private void consumeFormatVersion(
DmdlSemantics environment, AstAttribute attribute,
Map<String, AstAttributeElement> elements, ParquetFileTrait result) {
AstLiteral formatVersion = take(environment, attribute, elements, ELEMENT_FORMAT_VERSION, LiteralKind.STRING);
if (formatVersion != null) {
String symbol = formatVersion.toStringValue();
try {
ParquetProperties.WriterVersion value = ParquetProperties.WriterVersion.fromString(symbol);
result.configuration().withWriterVersion(value);
} catch (IllegalArgumentException e) {
environment.report(new Diagnostic(