This is a utility SMT to transform HANA column names that do not fit to the avro field naming scheme.
The escape encoding scheme is similar to that of URLEncoding where each character not belonging to the valid character set will be replaced with its UTF-8 byte sequence <esc><xx>, where <esc> is the specified the escape character and <xx> is the hexadecimal representation of its value.
For example, to encode arbitrary field names into valid avro names, add this transformer with the following setting at the source connector.
This is a utility SMT to transform HANA column names that do not fit to the avro field naming scheme.
The escape encoding scheme is similar to that of URLEncoding where each character not belonging to the valid character set will be replaced with its UTF-8 byte sequence
<esc><xx>
, where<esc>
is the specified the escape character and<xx>
is the hexadecimal representation of its value.For example, to encode arbitrary field names into valid avro names, add this transformer with the following setting at the source connector.
To revert the field names back to the original field names, add this transformer with the following setting at the sink connector.
This transformer maybe be used to solve problems mentioned in #126.