public sealed class AvroSerializationOptions : IMessage<AvroSerializationOptions>, IEquatable<AvroSerializationOptions>, IDeepCloneable<AvroSerializationOptions>, IBufferMessage, IMessage
public bool EnableDisplayNameAttribute { get; set; }
Enable displayName attribute in Avro schema.
The Avro specification requires field names to be alphanumeric. By
default, in cases when column names do not conform to these requirements
(e.g. non-ascii unicode codepoints) and Avro is requested as an output
format, the CreateReadSession call will fail.
Setting this field to true, populates avro field names with a placeholder
value and populates a "displayName" attribute for every avro field with the
original column name.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The page details the `AvroSerializationOptions` class, which is specifically designed for handling options related to Avro serialization within the Google Cloud BigQuery Storage V1 library."],["This class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, demonstrating its capabilities in handling message serialization, equality checks, deep cloning, and buffer operations."],["The `AvroSerializationOptions` class has two constructors: one default and one that accepts another `AvroSerializationOptions` object, enabling the creation of new instances and copying of existing ones."],["The class includes the `EnableDisplayNameAttribute` property, which, when set to true, allows non-alphanumeric column names to be represented in the Avro schema through a \"displayName\" attribute, preventing errors when using Avro as an output format."],["The webpage also provides a list of older version references, starting from version 2.3.0 up until the most recent version 3.17.0, along with associated links."]]],[]]