createUploadTableJson: create the json object

Description Usage Arguments Author(s) Examples

View source: R/Utility.R

Description

create the json object using input parameters

Usage

1
createUploadTableJson(dataSource, workspaceName, columns, dataType, hdfsDelimiter, filepath, tableName, fileType, roleId)

Arguments

dataSource

Name of the IIP data source

workspaceName

Name of the IIP workspace

columns

column names of the table to be uploaded

dataType

data type of each column of the table to be uploaded

hdfsDelimiter

The seperator to be used for storing table

filepath

hdfs location of the table

tableName

name of the table to be uploaded

fileType

type of table/file (default is csv)

roleId

user role

Author(s)

KiranKumar_Kaipa@infosys.com Poorva_Agrawal@infosys.com

Examples

1
"createUploadTableJson(dataSource=\"DataSourceName\", workspaceName=\"WorkspaceName\", columns=c(\"Column1,Column2,Column3\"), dataType=c(\"String,String,String\"), hdfsDelimiter=\",\", filepath=\"FilePath\", tableName=\"TableName\", fileType=\"csv\", role = \"admin\")"

Infosys/NIADataRConnector documentation built on May 14, 2019, 10:32 a.m.