Search

Connectors

Contact support

Helpdesk portal

Sybase (SAP SQL Anywhere) - Getting started in Peliqan

Sybase (SAP SQL Anywhere) - Getting started in Peliqan

You can connect a Sybase database (now called SAP SQL Anywhere) in Peliqan using a custom pipeline script. The pipeline will sync a selection of tables (or all tables) from a Sybase database into the Peliqan data warehouse. The data will be synced incrementally, based on a timestamp column. If that is not present, a full sync can be performed. The script will store the “bookmark” per table in the state, in order to reminder from which timestamp to sync new and updated records. Note that the script does not handle deleted record

Copy the below code in your account, and make following changes to the script:

  • Change host, port, login, password to connect to the Sybase DB
  • Set the list of tables to sync with their PK (primary key) column
  • Change the code in get_data_batch in case there is no timestamp last update column
  • Change the column name mod_date in the script, in case the timestamp column is named differently