Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Error in executing .hdbti file

$
0
0

Hi Experts

I'm trying to add contents of a CSV file into a table I've written products.hdbti and products.hdbtable and I'm facing the following issue.

hdbti.jpg

 

products.hdbtable

 

table.schemaName = "SAP_HANA_TM";
table.tableType = COLUMNSTORE; // ROWSTORE is an alternative value
table.description="Products Listing Table";
table.columns =
 [    {name="ID"; sqlType=NVARCHAR; nullable = false;length = 500;}, //0    {name = "Active";  sqlType = NVARCHAR;  length = 500; }, //1    {name = "Name *";  sqlType = NVARCHAR; length = 500;}, //2    {name = "Categories (x,y,z...)";  sqlType = NVARCHAR; length = 50; }, //3    {name = "Price tax excluded or Price tax included";  sqlType = NVARCHAR;  length=50;}, //4    {name = "Tax rules ID";  sqlType = NVARCHAR;length=500;}, //5    {name = "Wholesale price";  sqlType = NVARCHAR;length=50;}, //6    {name = "Discount amount";  sqlType = NVARCHAR;length=100;},    {name = "Discount percent";  sqlType = NVARCHAR;length=100; },    {name = "Discount from (yyyy-mm-dd)"; sqlType = NVARCHAR;length=10; },    {name = "Discount to (yyyy-mm-dd)";  sqlType = NVARCHAR;length=10; },    {name = "Supplier";  sqlType = NVARCHAR;length=100; },    {name = "Manufacturer";  sqlType = NVARCHAR;length=1000; },    {name = "Description";  sqlType = NVARCHAR;length=5000; },    {name = "Tags";  sqlType = NVARCHAR;length=1000; },    {name = "Image URLs";  sqlType = NVARCHAR;length=1000; }      
];
table.primaryKey.pkcolumns = ["ID"];

 

products.htbti

 

import =[         {               hdbtable = "TM.data::products";               schema = "SAP_HANA_TM";               file = "TM.data.loads:products_import.csv";               header = false;                                      delimField = ";";                 }         ];

Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>