Save the provided connection information as a data source.
This request creates a Snowflake data source.
Copy {
"handler" : {
"metadata" : {
"ssl" : true ,
"userFiles" : [] ,
"authenticationMethod" : "userPassword" ,
"username" : "user" ,
"password" : "yourpassword" ,
"port" : 443 ,
"hostname" : "demo.us-east-1.snowflakecomputing.com" ,
"warehouse" : "YOUR_WH" ,
"database" : "ANALYTICS" ,
"schema" : "TEST" ,
"table" : "CUSTOMERS" ,
"nativeViewName" : "customers_immuta" ,
"nativeSchemaName" : "test_immuta" ,
"nativeWorkspaceName" : "immuta_analytics" ,
"schemaProjectName" : "Test" ,
"bodataSchemaName" : "test" ,
"columns" : [{
"name" : "CUSTOMER_ID" ,
"dataType" : "numeric(38,0)" ,
"remoteType" : "number(38,0)" ,
"isPrimaryKey" : false ,
"nullable" : true
} , {
"name" : "FIRST_NAME" ,
"dataType" : "text" ,
"remoteType" : "varchar(16777216)" ,
"isPrimaryKey" : false ,
"nullable" : true
} , {
"name" : "LAST_NAME" ,
"dataType" : "text" ,
"remoteType" : "varchar(16777216)" ,
"isPrimaryKey" : false ,
"nullable" : true
} , {
"name" : "FIRST_ORDER" ,
"dataType" : "date" ,
"remoteType" : "date" ,
"isPrimaryKey" : false ,
"nullable" : true
} , {
"name" : "MOST_RECENT_ORDER" ,
"dataType" : "date" ,
"remoteType" : "date" ,
"isPrimaryKey" : false ,
"nullable" : true
} , {
"name" : "NUMBER_OF_ORDERS" ,
"dataType" : "numeric(18,0)" ,
"remoteType" : "number(18,0)" ,
"isPrimaryKey" : false ,
"nullable" : true
} , {
"name" : "TOTAL_ORDER_AMOUNT" ,
"dataType" : "numeric" ,
"remoteType" : "number(38,6)" ,
"isPrimaryKey" : false ,
"nullable" : true
}] ,
"eventTime" : "FIRST_ORDER" ,
"staleDataTolerance" : 86400 ,
"bodataTableName" : "customers" ,
"dataSourceName" : "Customers"
}
} ,
"dataSource" : {
"blobHandler" : {
"scheme" : "https" ,
"url" : ""
} ,
"blobHandlerType" : "Snowflake" ,
"recordFormat" : "" ,
"type" : "queryable" ,
"schemaEvolutionId" : null ,
"columnEvolutionEnabled" : true ,
"name" : "Customers" ,
"sqlTableName" : "customers"
} ,
"schemaEvolution" : {
"ownerProfileId" : 2 ,
"config" : {
"nameTemplate" : {
"nameFormat" : "<Schema> <Tablename>" ,
"tableFormat" : "<tablename>" ,
"sqlSchemaNameFormat" : "<schema>" ,
"schemaProjectNameFormat" : "<Schema>"
}
} ,
"schemas" : []
}
}
Get information about a data source
Get the handler metadata associated with the provided handler ID.