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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe page details the \u003ccode\u003eAvroSerializationOptions\u003c/code\u003e class, which is specifically designed for handling options related to Avro serialization within the Google Cloud BigQuery Storage V1 library.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, demonstrating its capabilities in handling message serialization, equality checks, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAvroSerializationOptions\u003c/code\u003e class has two constructors: one default and one that accepts another \u003ccode\u003eAvroSerializationOptions\u003c/code\u003e object, enabling the creation of new instances and copying of existing ones.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes the \u003ccode\u003eEnableDisplayNameAttribute\u003c/code\u003e 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.\u003c/p\u003e\n"],["\u003cp\u003eThe 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.\u003c/p\u003e\n"]]],[],null,[]]