Write to HANA Table
The Write to HANA Table operator ingests data into one or more tables on an SAP HANA database.
The target table(s) must already exist at initialization time (in Static mode) or whenever input is received (in Dynamic mode). If table creation is intended as part of the same pipeline, consider using the Initialize HANA Table operator in conjunction with this one.
Configuration Parameters
|
Name |
ID |
Type |
Description |
|---|---|---|---|
|
Connection |
connection |
object |
Mandatory. The object containing the connection parameters to a HANA instance. Default: {} |
|
Configuration Mode |
configMode |
string |
Determines how the operator obtains the target table name.
Accepted values:
Default: " " |
|
Table Name |
tableName |
string |
The name of the table to be used as fixed destination in Static mode. Default: "" |
|
Statement Type |
statementType |
string |
Determines whether data is to be ingested using an INSERT or an UPSERT statement. Default: "INSERT" |
|
Binary Input Encoding |
binaryEncoding |
string |
Specifies the encoding of incoming binary data for the columns of type VARBINARY and BINARY. This is mainly relevant for binary data generated by ABAP operators since it is hex-encoded and needs to be properly decoded to be sent to HANA. |
|
Connection Timeout |
connectionTimeout |
string |
The maximum amount of time to wait for the server. If the operator does not hear from the server within this period of time, the connection is closed. If set to zero, the operator waits for the server indefinitely. Default: "50s" |
Input
|
Input |
Type |
Description |
|---|---|---|
|
input |
message.table |
A Table Message (see Table Messages) containing the data to be inserted. |
Output
|
Output |
Type |
Description |
|---|---|---|
|
success |
message.table |
A Table Message (see Table Messages) describing the table that was successfully initialized. In Dynamic mode, this output also includes any additional attributes that were present in the input, as well as the original message body. |
|
error |
message.error |
An Error Message, in case an error was raised during an operation. |