Skip to content
Ayhan Rashidov edited this page Sep 5, 2022 · 1 revision

Importing Data (.hdbti)

This object represents a table import configuration.

Reference

The information on how to develop the design-time data-persistence hdbti model for a Kronos application.

SAP Help

https://help.sap.com/docs/SAP_HANA_PLATFORM/52715f71adba4aaeb480d946c742d1f6/c58dfa915a394bd5b37b7b87eaf1452e.html

Example Artifact Syntax

 import = [
            {
                table = "myTable";
                schema = "mySchema";
                file = "sap.ti2.demo:myData.csv";
                header = false;
                delimField = ";";
                keys = [ "GROUP_TYPE" : "BW_CUBE"];
            },
            {
                table = "sap.ti2.demo::myTable";
                schema = "mySchema";
                file = "sap.ti2.demo:myData2.csv";
                header = false;
                delimField = ";";
                keys = [ "GROUP_TYPE" : "BW_CUBE"];
            }
         ];

Parser Specific Details

Variable names are case sensitive.

Sample

https://github.com/codbex/codbex-kronos/tree/main/samples/hdb-hdbti-simple

Modules

  • ANTLR Parser

https://github.com/codbex/codbex-kronos/tree/main/modules/parsers/parser-hdbti/src/main

  • Data Structure Parser

https://github.com/codbex/codbex-kronos/tree/main/modules/engines/engine-hdbti/src/main/java/com/codbex/kronos/hdbti/parser

  • Processor

https://github.com/codbex/codbex-kronos/tree/main/modules/engines/engine-hdbti/src/main/java/com/codbex/kronos/hdbti/processors

Unit Tests

https://github.com/codbex/codbex-kronos/tree/main/modules/parsers/parser-hdbti/src/test https://github.com/codbex/codbex-kronos/tree/main/modules/engines/engine-hdbti/src/test/java/com/codbex/kronos/hdbti/parser https://github.com/codbex/codbex-kronos/tree/main/modules/engines/engine-hdbti/src/test/java/com/codbex/kronos/hdbti/processors

Clone this wiki locally