Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion oracle-plugin/src/e2e-test/resources/errorMessage.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ errorMessageInvalidHost=Exception while trying to validate schema of database ta
errorLogsMessageInvalidBoundingQuery=Spark program 'phase-1' failed with error: Stage 'Oracle' encountered : \
java.io.IOException: ORA-00936: missing expression . Please check the system logs for more details.
blank.database.message=Required property 'database' has no value.
blank.connection.message=Exception while trying to validate schema of database table
blank.connection.message=Exception while trying to validate schema of database table
blank.HostBlank.message=Error encountered while configuring the stage: 'SQL Error occurred, sqlState: '08006', errorCode: '17002', errorMessage: SQL Exception occurred: [Message='IO Error: The Network Adapter could not establish the connection', SQLState='08006', ErrorCode='17002'].'
errorMessageUpdateUpsertOperationName=Table key must be set if the operation is 'Update' or 'Upsert'.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ host=ORACLE_HOST
port=ORACLE_PORT
username=ORACLE_USERNAME
password=ORACLE_PASSWORD
connection.name=dummy
outputSchema=[{"key":"ID","value":"decimal"},{"key":"LASTNAME","value":"string"}]
datatypeColumns=(ID VARCHAR2(100) PRIMARY KEY, COL1 CHAR, COL2 CHAR(10), COL3 VARCHAR(3), COL4 VARCHAR2(3), \
COL5 NCHAR, COL6 NCHAR(12), COL7 NVARCHAR2(12), COL8 CLOB, COL9 NCLOB, COL10 LONG, COL11 ROWID, COL12 NUMBER(4), \
Expand Down Expand Up @@ -94,6 +95,8 @@ numberOfSplits=2
zeroValue=0
splitByColumn=ID
importQuery=where $CONDITIONS
connectionArguments=queryTimeout=50
transactionIsolationLevel=TRANSACTION_READ_COMMITTED
operationName=update
oracleTableKey=ID
relationTableKey=ID
Expand Down
76 changes: 76 additions & 0 deletions oracle-plugin/widgets/Oracle-batchsink.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,82 @@
]
}
},
{
"widget-type": "hidden",
"label": "Treat as old timestamp",
"name": "treatAsOldTimestamp",
"widget-attributes": {
"layout": "inline",
"default": "false",
"options": [
{
"id": "true",
"label": "true"
},
{
"id": "false",
"label": "false"
}
]
}
},
{
"widget-type": "hidden",
"label": "Treat precision less number as Decimal(old behavior)",
"name": "treatPrecisionlessNumAsDeci",
"widget-attributes": {
"layout": "inline",
"default": "false",
"options": [
{
"id": "true",
"label": "true"
},
{
"id": "false",
"label": "false"
}
]
}
},
{
"widget-type": "hidden",
"label": "Treat Timestamp_LTZ as Timestamp",
"name": "treatTimestampLTZAsTimestamp",
"widget-attributes": {
"layout": "inline",
"default": "false",
"options": [
{
"id": "true",
"label": "true"
},
{
"id": "false",
"label": "false"
}
]
}
},
{
"widget-type": "hidden",
"label": "Enable Xml Type",
"name": "enableXmlType",
"widget-attributes": {
"layout": "inline",
"default": "false",
"options": [
{
"id": "true",
"label": "true"
},
{
"id": "false",
"label": "false"
}
]
}
},
Comment thread
vikasrathee-cs marked this conversation as resolved.
{
"name": "connectionType",
"label": "Connection Type",
Expand Down
Loading