The "intersystems-load-data" allows you import csv and txt content into InterSystems IRIS using LOAD Data
- Select files and load data into InterSystems IRIS
- Set options before send the file
- The extension sends the file to the intersystems iris using docker cp
- The extension generate the load data command and executes it using the terminal.
It is required have an InterSystems IRIS instance running into a docker container.
- Clone the project (or download): git clone https://github.com/yurimarx/vscode-load-data.git
- Go to extensions
- Click ... button on top of extensions viewer
- Choose the option Install from VSIX...
- Select the file intersystems-load-data-0.0.1.vsix from your local folder
- Go to the .vscode/settings.json and configure:
{
...
"irisImporter.containerName":"name of your iris docker container. Eg.: iris-1",
"irisImporter.namespace": "name of your namespace. Eg.: USER"
}
-
Make sure you have a Docker container running with Iris.
-
Make sure you have a text or CSV file to import and a destination table in IRIS. The header names in the file and the column names in the table must be the same.
-
Click right the CSV or TXT file and select the menu option Import to IRIS Docker Container.
-
Set the InterSystems IRIS SQL Table with the schema + . + table name. Eg.: dc_sample.Person
-
Click Load Data and check if the data was loaded using SQL Explorer.
This extension contributes the following settings:
irisImporter.containerName: docker container name to send the file.irisImporter.namespace: iris namespace with the target table.
Works only with iris into docker containeres.
Initial release
Enjoy!